From patchwork Thu Aug 8 10:27:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13757212 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9659518A6A0 for ; Thu, 8 Aug 2024 10:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723112886; cv=none; b=sCcW/JkmulwZLUHUwoVYeexGTo6WATFVA08CtyRc9zXXtiYb88Gu/bhuZ3b1zxGVvwHDlOuS2HfMCE+v5RFzYrqz8QjGha3qdtrJzhTS2Zb307/3nfxjlIAPZ2i4yBHIOdRofV+eWobs5Gxu01N9/6b2a9arJ+qncqsfcxKwxtA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723112886; c=relaxed/simple; bh=NerWYmC0Zj/71XZg9G0jYL5bD9JcYGXHp2BwBzjd9Xw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MCDctuK9pDv4iBsltbTL1dmui3wQhA6oTL6XUxrvTWngqUYeEvA3QdzoU6CjtoVj+OZ/FBe7o5LNTL8vxPvpCgSKSFO8KQRa+ErfTx2QWzNDCvY61pid5mZzV5ibk18h5eIq90x+3c8q13VbblH47zbgDQQS/wyPHwa0er4ZHIs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=JpqZwvxn; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="JpqZwvxn" Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-36844375001so369566f8f.0 for ; Thu, 08 Aug 2024 03:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1723112883; x=1723717683; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eLs1XU+vYdzxst2Jx1X+lCyMt00FFZC6iTK2ta7VGO4=; b=JpqZwvxntCdAb0zqi2i0MXVu0XNzZHFscfImLAM7wN2Uh1+PYECpJEOAqRbY+Rpz61 oarJFArD8nqOxQc/Cc6L6a0ctDoBE6hUrLuHUz3pYUZ1Bba3ffSR9aybOj53Yaph0kl8 2KPg45ktyiXU74ZwxbcCifLiEiKjN50nuZR38f3mJGRWNqNjU6zPSIaOk8WCTb7JqWeJ qnDjoWrdeCOSsVB0LFyGDz4Hu8NlARh3GcyWKmx1+9H2a34mUy2nbVzFaB0z2ncV75hr 62U8jtcCWuDUhAuWhynWRaepfOMCfdFyWErv9r0YTmpyv6wm1LwuSMxS9UNnepOi+/Vg iybA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723112883; x=1723717683; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eLs1XU+vYdzxst2Jx1X+lCyMt00FFZC6iTK2ta7VGO4=; b=hZzKF4BFq59fsaocB9RCtZDoCen4orXBuRYTKh2oiyyqVuzS7/yprHjfnc0MTjYS4i zSvgxwxhCMqoY93F9c3foIrra2KzGqoX5m4jFjb9SNcTPFqnn4qbn7pigrte8ZuI0Eiy IYR1rruT7+zhMJrrUWDcQC0asG42+bgTEMXcy0A5cM8pzh5zFYwxBUQarGxCZP6oEt9+ FnQHdhGam8xfJxzCQlZ88SIaxEVX34dA1Z8gf0VDX2ByafNIle9M1nyqbM0ZRc/d3iXN BgcTNDWMhT6mk8KO692vSAWIExsXljbltPPGDNmQ/ciqfmXEj2NtFzrn/d1jhsftX7P2 FOBg== X-Forwarded-Encrypted: i=1; AJvYcCXDFsh2qFSNOjGNgOKYRpQETnMVAPJT/Fbivdl+pbMHzgHoGUFwRYqhwM7zb41Y7uEeiyGtn6m/VEaqMVu5ge4LxRs1rHgFK//U X-Gm-Message-State: AOJu0YxgqSOcO1KvrqBibUP+BTSlsAzfLJNPb9iuyPZtPULaUdANdxd2 tsx9XGXCYiaSCggAFpto/Q/VilWZ/dsgxoHrADEvlfZNihJYKR3Vbpv7EoqBi3k= X-Google-Smtp-Source: AGHT+IH4wfvzwM4fkXArLZT1sNL9MljhNrH8VOMDF+lOosNHTQhMGAQbXMHkxibOYzjGWqC9kpdcsQ== X-Received: by 2002:adf:e6c1:0:b0:368:72c6:99c3 with SMTP id ffacd0b85a97d-36d2754b2abmr858636f8f.14.1723112882782; Thu, 08 Aug 2024 03:28:02 -0700 (PDT) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:ae7:4e79:8821:15db]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-36d27208c98sm1454596f8f.75.2024.08.08.03.28.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Aug 2024 03:28:02 -0700 (PDT) From: Jerome Brunet To: Philipp Zabel , Stephen Boyd , Neil Armstrong Cc: Jerome Brunet , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH v3 2/9] reset: amlogic: use generic data matching function Date: Thu, 8 Aug 2024 12:27:32 +0200 Message-ID: <20240808102742.4095904-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240808102742.4095904-1-jbrunet@baylibre.com> References: <20240808102742.4095904-1-jbrunet@baylibre.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Bot: notify There is no need to use the DT specific function to get matching data, use the generic one instead Suggested-by: Stephen Boyd Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong --- drivers/reset/reset-meson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c index b47431a21b86..820905779acd 100644 --- a/drivers/reset/reset-meson.c +++ b/drivers/reset/reset-meson.c @@ -128,7 +128,7 @@ static int meson_reset_probe(struct platform_device *pdev) if (IS_ERR(base)) return PTR_ERR(base); - data->param = of_device_get_match_data(dev); + data->param = device_get_match_data(dev); if (!data->param) return -ENODEV;