Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1868307rwb; Sat, 19 Nov 2022 05:09:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4y209BsSY2yOKWiwPdcWbMTtrwLe8HqqVxelhwie8+CvNr+jHMrHTVshcEZygN71NpEVIb X-Received: by 2002:a50:ee03:0:b0:467:897d:eb09 with SMTP id g3-20020a50ee03000000b00467897deb09mr9707920eds.60.1668863375985; Sat, 19 Nov 2022 05:09:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668863375; cv=none; d=google.com; s=arc-20160816; b=MDnnc0H/wQMEGeVqccwUEzC/B8rBC529wqUO2agsFZZglvRikHOFie/NGD0CVaerk2 BT3PpyRakR17o+W9f03fGRQbWFAbeT+eXFh7aQuS6C10J1nvwlE97uk8fgJ4OsQM87NO th9uElNbqMibdtArrlRYuYm4CYFLQ4qWJ4SI+xploZ2Bf4fvGhdxFGhq/dIUSXi3bZSJ eyNlIy4E5t28vI+t705lWstnzUqSO7jW6rA2maiYlwiwozsEXE2vcVD2BhzB/ws4XqS3 nQ+kBVZY7d5XtURMAuJ8DUbKC5dedMjSE87JastLriHAWtzYOkzgWsdT3G6hXEIk9fue Mrow== 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=DoohYdxomzFI0EF/wRsM8Z079B1g2KPQS7s9vOJu/Uc=; b=ZncgMWKnIB9nNf8tNPJLdTAAQF8znz5Y+NuHZ1X0+UUnL3CiVAFDMg509rrqmyaC0L 4SAM4JZVhJUWZNjrGQxlRPAJlV9Yx7cSrhC3ZROhShepD2QWSEYCH1eSyH7829gUlN52 9n41j/MM/7SGioOFRYLepwGfPCYgsnHBF/lDCy69WWHVPwXzdnOpBsUsTHnlrEZHVGJ5 n6cjeoD7fx5lqfASJ8eIeBNcbdS8JYt8ssuCVUMewWC8aw6KE+jfKx7Ildz78fDyL6Wj 5alAEjmQon6Cs4msgqyFFFPjWUb0iO2kPTGsrHaBsA7GpjwVD3zO5d7QTxEPXBQX9DCk ARcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hNNJXNnv; 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 d7-20020a056402516700b0046844a19058si4867421ede.288.2022.11.19.05.09.03; Sat, 19 Nov 2022 05:09:35 -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=hNNJXNnv; 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 S232123AbiKSM64 (ORCPT + 91 others); Sat, 19 Nov 2022 07:58:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbiKSM6z (ORCPT ); Sat, 19 Nov 2022 07:58:55 -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 A78E49E94D for ; Sat, 19 Nov 2022 04:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668862646; 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=DoohYdxomzFI0EF/wRsM8Z079B1g2KPQS7s9vOJu/Uc=; b=hNNJXNnvzYxAxTxyKMcLHclTV1U/IVGDyITn12svkaI89XNPXoqxJzjR/N2V+OJYmNNC8l 4Srgh6I99cGuI7kO+i/91S024jO//ALj5rIoFwhwOGOYpEt8DkchbTZ/T4Twhznd8TO/CZ WQiLIfIKg9KHfash7Td4feJpOvbjWbs= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-519--h8GBu_2ODqOBiyVIkreVQ-1; Sat, 19 Nov 2022 07:57:23 -0500 X-MC-Unique: -h8GBu_2ODqOBiyVIkreVQ-1 Received: by mail-ej1-f71.google.com with SMTP id sc40-20020a1709078a2800b007ae024e5e82so4705002ejc.13 for ; Sat, 19 Nov 2022 04:57:23 -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=DoohYdxomzFI0EF/wRsM8Z079B1g2KPQS7s9vOJu/Uc=; b=aebkMHlRd5QuqMHG2FXu0z4wP5IxeWViHptqidWUScTL4O7XQ8N+1HgJ2Z07xsG8Hm wI1+0Op7x8NJfQKJesHcMg/aFnepPtSYyuGxd9ileO05LN4TVLYzt3WZrKLShOOS0jQb bfPxz8belysrXZF7ffNccRt//b8JlOIotJpfvUmEGE8gYJeH+kck1jcoW2D74BMI9GQE 7D2x/uecFY1dRBT+HDTkHxY8/BUyjAX5lbaRehtYfaxKkeECOruug0v6I8jM+nOrOpfk RnQq4/1Awl9TZ62yAoKvekxsuzwFEBRcvaO94+Eo0kYBlniWfpcGuRXOVJF99aUKfK1+ 95ew== X-Gm-Message-State: ANoB5pknXpfVUnJNVBAJEuPWgxPOb10b2RYR5lkeW31UNl2qA9dff6d7 ZWhBJfzaEMpIUd6DZGjev3xUVhxpJoyhgwqFmFa4AOh3Jrqdoh0/Z5QoaD3N8Mj5ySN3nHPyWHt 0332M648wbzDYW1pQXuIXXVca X-Received: by 2002:a17:907:b606:b0:7af:ecf4:61c0 with SMTP id vl6-20020a170907b60600b007afecf461c0mr9552283ejc.178.1668862642263; Sat, 19 Nov 2022 04:57:22 -0800 (PST) X-Received: by 2002:a17:907:b606:b0:7af:ecf4:61c0 with SMTP id vl6-20020a170907b60600b007afecf461c0mr9552274ejc.178.1668862642057; Sat, 19 Nov 2022 04:57:22 -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 u22-20020aa7d896000000b00459f4974128sm2946114edq.50.2022.11.19.04.57.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Nov 2022 04:57:21 -0800 (PST) Message-ID: <16a6e578-6e05-301d-cc0d-996cfc339110@redhat.com> Date: Sat, 19 Nov 2022 13:57:20 +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 231/606] Input: chipone_icn8318 - 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, linux-kernel@vger.kernel.org References: <20221118224540.619276-1-uwe@kleine-koenig.org> <20221118224540.619276-232-uwe@kleine-koenig.org> From: Hans de Goede In-Reply-To: <20221118224540.619276-232-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=unavailable 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 > > The probe function doesn't make use of the i2c_device_id * parameter so it > can be trivially converted. > > Signed-off-by: Uwe Kleine-König Thanks, patch looks good to me: Reviewed-by: Hans de Goede Regards, Hans > --- > drivers/input/touchscreen/chipone_icn8318.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/input/touchscreen/chipone_icn8318.c b/drivers/input/touchscreen/chipone_icn8318.c > index f2fb41fb031e..f6769e4bd4f2 100644 > --- a/drivers/input/touchscreen/chipone_icn8318.c > +++ b/drivers/input/touchscreen/chipone_icn8318.c > @@ -176,8 +176,7 @@ static int icn8318_resume(struct device *dev) > > static SIMPLE_DEV_PM_OPS(icn8318_pm_ops, icn8318_suspend, icn8318_resume); > > -static int icn8318_probe(struct i2c_client *client, > - const struct i2c_device_id *id) > +static int icn8318_probe(struct i2c_client *client) > { > struct device *dev = &client->dev; > struct icn8318_data *data; > @@ -267,7 +266,7 @@ static struct i2c_driver icn8318_driver = { > .pm = &icn8318_pm_ops, > .of_match_table = icn8318_of_match, > }, > - .probe = icn8318_probe, > + .probe_new = icn8318_probe, > .id_table = icn8318_i2c_id, > }; >