Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp705330ybk; Wed, 20 May 2020 09:54:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyV5/1UIdbaydipO6IBv2NcGBh+pn4fSTKs0aDbVkBGRARGa2wFT1CNsC5OjqSkuip8UBNE X-Received: by 2002:a17:906:e201:: with SMTP id gf1mr3962ejb.420.1589993661800; Wed, 20 May 2020 09:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589993661; cv=none; d=google.com; s=arc-20160816; b=Q8ZTg65WykiFBlt+S1inMSNo5wd/oEuMjMANHtutiUtKALYpQ3Mju/3gyopA9ugkIq NGQ2udAakvXOTrH4Og0XSebWD7zduPLqyHBeKHgbNbq4L5dEpyL+plQLBEu8viD0fztS 2hwUN0fJ4JMv23EnDkZkrxbbJjbkTgfnALUoMeA/4IPjbh2vbvm6qVG36Fbr9QFqbKqu laTV1haaWNtoKeGI67VHloNLKdkwnDcfKUT/u9PY5hr/h6BfyUNmH4lsya5GbuYEX8LV SDWGGm/SnJ3iLmwXrAycdzfugFbTQmKK/E+dr+Es5vn3klqx7QFD6HwsjU9OTnPFSaA3 hJnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IILfm71zkXYnaPL04HmYHawTTsqwok5uBABFOglP8tQ=; b=LyN0+2Y7tqPFAADIV4eTbqtNxYn2eTs0G+T9d9LQgMfUJ9rFEAEkb1T4UP+rjqlEvf fnpRg41rS1+IrRKz7Di6muHweAbIin5DU1XHCTFlYAch19CB3bdyU8uFRCLJCwBQlC9P uD7ApIFs6EB+KRlCVskeK2eK9T6tWU5F9P4F6uhwjM4BBu+I3OYupqKmjgeHOgU0zvNS 0yzj/mKgpZo6NrwvfPTKJ2ki5jZ6DNbwSnY84j1aJyRcLm0t2Exivgah0oB5ipGSgJ+I d8y8je0YPyWZVnQnpr/Jd6egcUs+J2IVnzrXn2qIqpnE0uHdwoQktW1OhQOcDgh33WZ5 x8kA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j8si1972496ejb.158.2020.05.20.09.53.58; Wed, 20 May 2020 09:54:21 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbgETQuQ (ORCPT + 99 others); Wed, 20 May 2020 12:50:16 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:39390 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726979AbgETQuP (ORCPT ); Wed, 20 May 2020 12:50:15 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: eballetbo) with ESMTPSA id EE5282A07CC Subject: Re: [PATCHv3 2/5] Input: EXC3000: switch to i2c's probe_new API To: Sebastian Reichel , Dmitry Torokhov , Ahmet Inan , Martin Fuzzey Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20200520153936.46869-1-sebastian.reichel@collabora.com> <20200520153936.46869-3-sebastian.reichel@collabora.com> From: Enric Balletbo i Serra Message-ID: <1d0d7e26-379f-5918-451f-b4445a652272@collabora.com> Date: Wed, 20 May 2020 18:50:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200520153936.46869-3-sebastian.reichel@collabora.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sebastian, On 20/5/20 17:39, Sebastian Reichel wrote: > Switch to the "new" I2C probe API. > > Signed-off-by: Sebastian Reichel Reviewed-by: Enric Balletbo i Serra > --- > drivers/input/touchscreen/exc3000.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/input/touchscreen/exc3000.c b/drivers/input/touchscreen/exc3000.c > index e007e2e8f626..555a14305cd4 100644 > --- a/drivers/input/touchscreen/exc3000.c > +++ b/drivers/input/touchscreen/exc3000.c > @@ -145,8 +145,7 @@ static irqreturn_t exc3000_interrupt(int irq, void *dev_id) > return IRQ_HANDLED; > } > > -static int exc3000_probe(struct i2c_client *client, > - const struct i2c_device_id *id) > +static int exc3000_probe(struct i2c_client *client) > { > struct exc3000_data *data; > struct input_dev *input; > @@ -210,7 +209,7 @@ static struct i2c_driver exc3000_driver = { > .of_match_table = of_match_ptr(exc3000_of_match), > }, > .id_table = exc3000_id, > - .probe = exc3000_probe, > + .probe_new = exc3000_probe, > }; > > module_i2c_driver(exc3000_driver); >