Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1875768rwb; Sat, 19 Nov 2022 05:16:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf7gPFV9L/RKy+viVr9hmwSI20hAqDuYwB79WXb0jeYirJCtQu8CWDLM6mZ1BSipnFnoF1Hs X-Received: by 2002:a05:6a00:24c1:b0:56e:a001:8cb0 with SMTP id d1-20020a056a0024c100b0056ea0018cb0mr12175009pfv.60.1668863760756; Sat, 19 Nov 2022 05:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668863760; cv=none; d=google.com; s=arc-20160816; b=FU7rzKuIuPymW4wvj35c/kX1CWgAsBwAsZ50/rBj9il6AlHZiVyM1AzgXeTMajwJIL ENSaq++f189e8imRmWrLnXC0px6U03dbIonRE/IAPRPbFinifEmpqkQDV4eOAF6hUj31 i6E8u6VJ6Oj3AAAdyJg33IhthJxtc4zKTw+A089mITWmfE7PGkM3jmM5LIorL8bsxL0L ObMjrrkQl9y8tvFMQ88rRq7cydrR8Q6By6DF76MQZA1OsHqw0bZOFGLqFlvYN408bQUu 5/V45NspQmuc38RCyzucmRQzodt01CA3Kl57sTsggiRfZkLwvlWVaovM82WAWwQQHAG5 vSUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UM5/eK0x4588vJ74t5BQpzCz6Kkx7HScHipjUXodFbQ=; b=Kg+mDEcejbEZ0XWgqk+yNk6pYGjGoUsDkktwMpEYhlb1GKS9yPUT4X4wGWnzoQofxV Ci5TsYFcDGPwrhR6XnTNqL7xvkCY4pq9J6Zt371lz0Ic+MfXrT8/F+juY5HVRqjNp6sb LRkad5Ylnd8pHSglhM+6yMuXFnzbGJmNfMzrzdL8kcjYdqC+J86U9IvcttByzu9mWZeZ GD+28E0HKuvEFRD/f9NvIKW4UFw5H8IVD+tyc5FOOWCO0LnLpIb9WwweUt23QJ2gNzpH ju6VQU6YZfu4Slg4hSNmieJx/cEOh8hyTbN2VeNMRsam0qmn4Gbc52ItArlChwrSkkne b8Og== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Kaw/dvP+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bt7-20020a17090af00700b0020d9c20092fsi5477715pjb.181.2022.11.19.05.15.47; Sat, 19 Nov 2022 05:16:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="Kaw/dvP+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233350AbiKSNAm (ORCPT + 91 others); Sat, 19 Nov 2022 08:00:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232895AbiKSNAl (ORCPT ); Sat, 19 Nov 2022 08:00:41 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8536674618 for ; Sat, 19 Nov 2022 04:59:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668862780; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UM5/eK0x4588vJ74t5BQpzCz6Kkx7HScHipjUXodFbQ=; b=Kaw/dvP+dwlxGhOQRVHTf3IqgKDAj6gDAqCDtTEF590ug/M7be5CY+MJ9q4F6lTPEwYG/W 3569GSpNvSgoVdbBKzZN6uBX9rkYpB+8HcR7uN5wsFbFnNxh4APaIaDafYZVqHGwcmb75N ZLYGjdEqFql1HIBwauNdMBCjufvxFnU= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-371-3pdiR2cPPCOhRcFMUr4oaw-1; Sat, 19 Nov 2022 07:59:38 -0500 X-MC-Unique: 3pdiR2cPPCOhRcFMUr4oaw-1 Received: by mail-ed1-f72.google.com with SMTP id v18-20020a056402349200b004622e273bbbso4128287edc.14 for ; Sat, 19 Nov 2022 04:59:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UM5/eK0x4588vJ74t5BQpzCz6Kkx7HScHipjUXodFbQ=; b=ITfT9Tn50rE+DMrg2XK7o4U+VTytqtVUnFqV0t+pEzfwUH55EKOBt+wptNRzxhpIxi PVkTITxrLwYZgz17NLf6NmUkdp/+bKp9oaC6iESZM3BlAVBCLAAQCtfDN41e2xaZ3BWY 0uV7b9OQ0hBpDzmtnJNQdUcmG2jeXhSdM96mUH+cIZiZV7A9amG7cKjIaEGN0FBJ3gCU 0G1GVs8CBbR/uaYReU60l2zUubXmvJkgkkd4iHL2ii/YBCN0CauCgw4RCWacSpjiP1Vm RzP9gXTY5dYdEfqrwmlR6bwgr8Uy0eY5PQ0XJNmLbZORwSCZVHGEIdrWe7CH7CZgpiz0 SBzQ== X-Gm-Message-State: ANoB5pl/UauPD50bNr+OM62Q9zDVXL6AQefurS02zeFayYA3olKcXXer rmoaYreKwRAuX9Q5mAnJ4hTKmCHiWGwamGBTSDUfpzajE47pwreROzS/biueWa3llImutXUyIRY nGGTHKPG2zkpGIlot6fdqDqUc X-Received: by 2002:aa7:d5c9:0:b0:463:c64e:bc75 with SMTP id d9-20020aa7d5c9000000b00463c64ebc75mr9669430eds.205.1668862777662; Sat, 19 Nov 2022 04:59:37 -0800 (PST) X-Received: by 2002:aa7:d5c9:0:b0:463:c64e:bc75 with SMTP id d9-20020aa7d5c9000000b00463c64ebc75mr9669421eds.205.1668862777490; Sat, 19 Nov 2022 04:59:37 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id d12-20020a056402078c00b0045b3853c4b7sm2950296edy.51.2022.11.19.04.59.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Nov 2022 04:59:36 -0800 (PST) Message-ID: <4e3deedc-40f1-0bf9-798b-88185bd89be8@redhat.com> Date: Sat, 19 Nov 2022 13:59:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 257/606] Input: silead - Convert to i2c's .probe_new() Content-Language: en-US, nl To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , Angel Iglesias , Lee Jones , Grant Likely , Wolfram Sang , Dmitry Torokhov Cc: linux-i2c@vger.kernel.org, kernel@pengutronix.de, =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221118224540.619276-1-uwe@kleine-koenig.org> <20221118224540.619276-258-uwe@kleine-koenig.org> From: Hans de Goede In-Reply-To: <20221118224540.619276-258-uwe@kleine-koenig.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 11/18/22 23:39, Uwe Kleine-König wrote: > From: Uwe Kleine-König > > .probe_new() doesn't get the i2c_device_id * parameter, so determine > that explicitly in the probe function. > > Signed-off-by: Uwe Kleine-König Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/input/touchscreen/silead.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/input/touchscreen/silead.c b/drivers/input/touchscreen/silead.c > index 3eef8c01090f..8a7351c4414c 100644 > --- a/drivers/input/touchscreen/silead.c > +++ b/drivers/input/touchscreen/silead.c > @@ -652,9 +652,9 @@ static void silead_disable_regulator(void *arg) > regulator_bulk_disable(ARRAY_SIZE(data->regulators), data->regulators); > } > > -static int silead_ts_probe(struct i2c_client *client, > - const struct i2c_device_id *id) > +static int silead_ts_probe(struct i2c_client *client) > { > + const struct i2c_device_id *id = i2c_client_get_device_id(client); > struct silead_ts_data *data; > struct device *dev = &client->dev; > int error; > @@ -826,7 +826,7 @@ MODULE_DEVICE_TABLE(of, silead_ts_of_match); > #endif > > static struct i2c_driver silead_ts_driver = { > - .probe = silead_ts_probe, > + .probe_new = silead_ts_probe, > .id_table = silead_ts_id, > .driver = { > .name = SILEAD_TS_NAME,