From patchwork Tue Sep 10 16:32:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 13798921 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E23CEDE9A3 for ; Tue, 10 Sep 2024 16:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=n0U3ETN12gpBLws4jxOpUFqH+6wugx8Wdm0xkOdNhP8=; b=jXqbjuQLtrfx4RS3twppqMfj+H tRA8R3boujNF/h4rEY5UtqJ1+DwKtRxCU5qZyd9vi6sbu+juzeLYi39iLTnNSyCA5U/bx+h4u4Fal BBdGubzXrluB/rrqTpBfFBHqUJbUQL3yWcaITFDhEBpk8stNmXwY1/yb6pjSZVKLoeoXCohELxZhb +UooGzTvqWE4cfyO4wQcN5CvTZe1/PrwaLwXyiLhAGPIRBhWk+r2j/rkXsje09oHKHRbpj+4fTsvS PbiO1gyhRfElZ3EfEGgyWBWiS9JzbtTsVTDMHYhg1PtBprcVjC+GEuNrt252J2YPR9dRrClJuVhqh Tc9FkcDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1so3rP-00000006MEJ-1DJW; Tue, 10 Sep 2024 16:36:59 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1so3ne-00000006LBk-0TZG for linux-arm-kernel@lists.infradead.org; Tue, 10 Sep 2024 16:33:08 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-4280ca0791bso53465155e9.1 for ; Tue, 10 Sep 2024 09:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1725985984; x=1726590784; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=n0U3ETN12gpBLws4jxOpUFqH+6wugx8Wdm0xkOdNhP8=; b=wA5aG6VIiO2QdHvEPr6INd3pql51Pi6CnM92UG5Uf+cySWY6zaFPb3Z071U8gN/Emk EIRFPMTijqDEzqiztbeCMg+yxYT+jKEMF/g/d+2YPYg6QO29r8UhiH5wZeAtYy+xpDVY Q49IT/+bApxVnT4mhjcsompUsp5S5ZSWBq1BB+C8m5xrwvwi2mnpJzN8ZGkv/N41JnZF 1N/7Y8QALdLenJtGD4rvDdNy0Ek2QCg5Av1zuAI4AjV93xCa4AJnjTaL5y5JHkqBKXFX I0e024B0D7OHNoYqxH9CtpXOV7rsHSAZk2DCEZfJXjTOc9iW1MnxCwzEeRWO5Zdik3Wa g+bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725985984; x=1726590784; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n0U3ETN12gpBLws4jxOpUFqH+6wugx8Wdm0xkOdNhP8=; b=bXNJIJU8KZ2J6Ff+6uSdAcG19oAPm+6JXM9vHJ/vkWVtiUnsr79jD4iOPtrxGT3EwB UbERxmnzC0RNySKFMyj4rLhMlOoUjNKD73wZpW0qn20tlPiqAq1tXSbl1hN09cszxQ5M ng48vmKPcFoYFNwdWHfITh07juW6Ra/whvmcMMb3c2OhR/kF4fXHLdpDMduAjYWsXsUW F+pOYnBGZhYG72dqHnjqJTWOFuJx01ac4eDYDQ4ncEsz48QCANXFwDG9yCs5p3ITO5TX C29+MXhJbtPvSkq8qP77lGXfli6z5IdNRfbGre1XPjQZY4fDRuvFRMhhapFgV5JKS6fM 1zSw== X-Gm-Message-State: AOJu0YwDPPsIWGaLkGnI2Bn+AryYbFRSbRnd6nThUk1eYV/9YHXRWqxt FBA4aqwBSzKxW84kR+swTr6sRArGiXdr4e4QxwznpfXvpp6ZpsbiMKQG52VaQa4= X-Google-Smtp-Source: AGHT+IHShZC5ser6whptXqE3MziINpbjBLNBW3nIUDCuOdeUJAsHeKnZjihpf41vXmHzwdkenZA7/Q== X-Received: by 2002:a05:600c:1ca0:b0:42c:b995:2100 with SMTP id 5b1f17b1804b1-42cb99524bcmr46920325e9.6.1725985983707; Tue, 10 Sep 2024 09:33:03 -0700 (PDT) Received: from toaster.baylibre.com ([2a01:e0a:3c5:5fb1:8ba7:bfe4:fea9:65b]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-42cc1375189sm25076025e9.1.2024.09.10.09.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 09:33:03 -0700 (PDT) From: Jerome Brunet Date: Tue, 10 Sep 2024 18:32:44 +0200 Subject: [PATCH v5 2/9] reset: amlogic: use generic data matching function MIME-Version: 1.0 Message-Id: <20240910-meson-rst-aux-v5-2-60be62635d3e@baylibre.com> References: <20240910-meson-rst-aux-v5-0-60be62635d3e@baylibre.com> In-Reply-To: <20240910-meson-rst-aux-v5-0-60be62635d3e@baylibre.com> To: Philipp Zabel , Stephen Boyd , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Jiucheng Xu Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=817; i=jbrunet@baylibre.com; h=from:subject:message-id; bh=TBFxeGrFtyl6fNkBC1RzGGAepksDKxjvf8LT6xC71TA=; b=owEBbQKS/ZANAwAKAeb8Dxw38tqFAcsmYgBm4HS1Tkc+OOhDTyGuf4iOz47SD4YGoUz7E+CiS j9zs6E46TSJAjMEAAEKAB0WIQT04VmuGPP1bV8btxvm/A8cN/LahQUCZuB0tQAKCRDm/A8cN/La heo4EACaHd8VKcIzQJwErNdFqhTeL2cOA+CG3ICx/ce5La3RkdLGPTaHDUhm3zbPRsiJD9yjhDq h/cSnJ9bJlHcZq1G8m7oLngE5vcTT+m1hRv2I4qoFPXJBdv5/UceUHfpAXOhEURdAVbGLBNm27V N4l0Sy71IZ6tzRTbH+upcUJ6Kx9CzgKthfROp1YZ7zD48S5ISB20/G6n8pPfmXETtlzRNqgisOm B1fYBxPUAlBBnEtiXYzcNJmfaCo5jPHevgij4uwrsie185bk1AFr3KaDGGPw/LNEOs/RY5XhzUD YOUBpGTjZChUJtfyOr3z1WdR5+yqgonHq5ZLr7PvZrDjbJ1mY26anrHktPP0tAlSmle69BZbNID wE2ahBPtUKhUSBkpbDpG8FqzLe7rU+frCKzvt5XMYfoknEwpFIoHVYamq1u3p5MkThrMe4P52Ug z65bOHFHwfvFMcKNhxzOoKPA/LjGlaccL3z2/p8iN1CNzAztFKOYijwJ7eAD73YYNe4SKj3CcZ3 /MnmvxyB/4wg1gQcPyZCQVzdEtozcDAp1V77yOuDntw53GaXCaMGrViwCt3xxsiUL4+S8TkCyuN p5X7wasd/QoChIDLr/pf4jHpOzFtzOiiBO4MqvFz1cN8fH/QmIf7F0WsK8muH1OOvO21Vo8QYll 3Xl8IjLdwY50hfQ== X-Developer-Key: i=jbrunet@baylibre.com; a=openpgp; fpr=F29F26CF27BAE1A9719AE6BDC3C92AAF3E60AED9 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240910_093306_260172_21A95FFE X-CRM114-Status: GOOD ( 13.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There is no need to use the DT specific function to get matching data, use the generic one instead Suggested-by: Stephen Boyd Reviewed-by: Neil Armstrong Signed-off-by: Jerome Brunet --- 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 9dd38cc209e2..848c2d88503e 100644 --- a/drivers/reset/reset-meson.c +++ b/drivers/reset/reset-meson.c @@ -134,7 +134,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;