Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4733767pxb; Tue, 28 Sep 2021 02:53:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdLDJXw0YVbTgOZt00ie7Jvvq3bC6P/x9nzRc6D8PWD8bJx4gzIfeh1kn3Tkq5ULtwMU0Q X-Received: by 2002:a62:64d3:0:b0:43d:ba3:1e2c with SMTP id y202-20020a6264d3000000b0043d0ba31e2cmr4764501pfb.5.1632822798696; Tue, 28 Sep 2021 02:53:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632822798; cv=none; d=google.com; s=arc-20160816; b=X3ZUkupq25jSdSOohkN2oa2sMAl8WhG8xCNUs4+fazTKp8BGUbkuB61N+kksBmliT0 AectcNsW1JtMu825TEi+1kq1LM+T5UQxSlh8MuxgW03T0BcxTQ2HklJcZ0CAQ1Xqu4zQ TncupRhQVw4+o2IOAxjRHq0F/oioC1yncAu6NN918YBWD4BmdC+Vmj9gdsz0HFrpH9lb LmLy7j/Qw80rzciC4hDAYS5wHd0T3ZQjoCvOomt3frzbnNQd7QZzmCeg+mkIK2gY/7yY alJR0+1wkcyl6lH4X3mcq0M6KXWaakmrYfgTeYkyf0EzA61XDfdBzP874Ttj1L2lhs9l raDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=UiTkohuBRVw0yF5vHHJOhme6ogNC22HNo7BqYKDzUF0=; b=Ws1YRglHoiCJpqEGZU8fX46rPMd1HS1n3iBebj8JnnAgeMX5+XCoOQVnC+dDkVK3Mx KPZLKIrMPqCu9G1gP7IIGIUNqnjuXIfp1khuW5BUuWDCB5Msg4y67uNA1cXxH5h+FLHP AyesdVjZDxTV2bHVeS2EjYe/tiQOijwLdMBAuSiidpG+3i5pIJYxGQGKo5S4ErET7TFi ZBEYuf+uf4dudb9SIdol372zcoBVE4Tkc+hv9qn2WMznFVwyc1A8hJt5VIwfe0Lj46Q9 lB1m8RbW+7rW4wxaMifSBxTnID3EKA+a6fuc8ujJhvXOrFCGKz9dyxn0WASu5vnOAbha +02g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si2199214plx.303.2021.09.28.02.53.06; Tue, 28 Sep 2021 02:53:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239450AbhI1Jwj (ORCPT + 99 others); Tue, 28 Sep 2021 05:52:39 -0400 Received: from hostingweb31-40.netsons.net ([89.40.174.40]:45141 "EHLO hostingweb31-40.netsons.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239989AbhI1Jwe (ORCPT ); Tue, 28 Sep 2021 05:52:34 -0400 Received: from [185.56.157.72] (port=34972 helo=pc-ceresoli.dev.aim) by hostingweb31.netsons.net with esmtpa (Exim 4.94.2) (envelope-from ) id 1mV9lD-005oRW-Dd; Tue, 28 Sep 2021 11:50:51 +0200 From: Luca Ceresoli To: linux-clk@vger.kernel.org Cc: Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, Luca Ceresoli Subject: [PATCH] clk: vc5: Use i2c .probe_new Date: Tue, 28 Sep 2021 11:50:41 +0200 Message-Id: <20210928095041.17116-1-luca@lucaceresoli.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hostingweb31.netsons.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lucaceresoli.net X-Get-Message-Sender-Via: hostingweb31.netsons.net: authenticated_id: luca+lucaceresoli.net/only user confirmed/virtual account not confirmed X-Authenticated-Sender: hostingweb31.netsons.net: luca@lucaceresoli.net X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The old .probe is "soon to be deprecated". Use the new, simpler form. Signed-off-by: Luca Ceresoli --- drivers/clk/clk-versaclock5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk-versaclock5.c b/drivers/clk/clk-versaclock5.c index c6d3b1ab3d55..e7be3e54b9be 100644 --- a/drivers/clk/clk-versaclock5.c +++ b/drivers/clk/clk-versaclock5.c @@ -905,7 +905,7 @@ static int vc5_get_output_config(struct i2c_client *client, static const struct of_device_id clk_vc5_of_match[]; -static int vc5_probe(struct i2c_client *client, const struct i2c_device_id *id) +static int vc5_probe(struct i2c_client *client) { unsigned int oe, sd, src_mask = 0, src_val = 0; struct vc5_driver_data *vc5; @@ -1244,7 +1244,7 @@ static struct i2c_driver vc5_driver = { .pm = &vc5_pm_ops, .of_match_table = clk_vc5_of_match, }, - .probe = vc5_probe, + .probe_new = vc5_probe, .remove = vc5_remove, .id_table = vc5_id, }; -- 2.33.0