Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp249812rdb; Thu, 16 Nov 2023 19:01:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGs0BfQ09vB+uKH2faCsslQZ/uJemnuxby1r0hrRDWcqWZ7estR/O22IO3YJj/td1pT2vCC X-Received: by 2002:a05:6a21:6da2:b0:152:4615:cb9d with SMTP id wl34-20020a056a216da200b001524615cb9dmr5888836pzb.12.1700190086769; Thu, 16 Nov 2023 19:01:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700190086; cv=none; d=google.com; s=arc-20160816; b=P2a5bxCV5niAYOMHuLOxRIbtrY+xMS2UoIjyDfj67jeFDXaeXBEIJMYi+jyZtYmNq7 kvlTBI0pmU74nhrB28bKao8t1cIufGZDrs9TncRLOGMwIcD8jxe0q7POWMOSZDZDoluP Z9JlpzY76Clu2Es5g2n9y6G3GmSyKHGkztcRYIlrHi61nj+xzH04bPbQDLwHVMha5Rst rCAnyYJZrzDbjdXTe8/hegzYzvmEHN5928Ydi0TSMxbCl0mEJlR2s0SgYBFCcdpOvw6t +Aozm4YRv/XqNav/QzPqO1vRxIJn1FSlL0y1StxmZS6tznNQ4NN/t+wDVMdHE71ORPMB N3qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cfh/n50sV9zDL7CpRsgoAkjALbUjhc6nk0SgI0MAzG8=; fh=mRqz0cToa9OufYXR24mvIE/vj9jGR3Vr8VCtUq5WJGY=; b=tL6zQJuOBJuxJG5oTTEmQGhq5cWxP3Fvdhcos6J8IkJ01eglE5SPP64oQQxSlyXh8r O1waKDsJYDwlPnN9KJyfQwYuaeSBOZOX9C8kY6a+hOYsxATjsl4RPEcopv0yOnmnloW4 GwQc85HtgAiN1wI0iR9OhB/4vhgtL2aBIseDvBf5/ym/Jv51QjP2zMaLoSrWaQw/QxJ3 O7gOLK4Apz18Wz8DWNNTQ1C2Otq+GNbvA5rYnFZvsAyzJL23dDvDlzZSsHWgDjcXn3LO J/ga9tddkfjDK8yO6hRH7PNymlWhiBPe02wUmfVXgZND24frHZQ+6mAvtgI04OcB6C0s Pk8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NlF90bvE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id a7-20020a634d07000000b005bdf5961d93si874446pgb.387.2023.11.16.19.01.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 19:01:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NlF90bvE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id ADAFB8077FE0; Thu, 16 Nov 2023 19:00:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345637AbjKQDAg (ORCPT + 99 others); Thu, 16 Nov 2023 22:00:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjKQDAf (ORCPT ); Thu, 16 Nov 2023 22:00:35 -0500 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F19AD4A; Thu, 16 Nov 2023 19:00:31 -0800 (PST) Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-66d24ccc6f2so23788386d6.0; Thu, 16 Nov 2023 19:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700190031; x=1700794831; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=cfh/n50sV9zDL7CpRsgoAkjALbUjhc6nk0SgI0MAzG8=; b=NlF90bvEH73dPaEZfsH2+uGwQi4zuEfkAm3wEsDVqy3U2TH/t9yyRCeo3CDBnIo2LQ cDukCVOuz0L2pMgLXTsWK5rfrahvnQMED71pzqG7ummZPO3mtaB0XNGYBoNu06N54yhE 8KTeSWbYDmqVSYdFBtci14yl5P9atNsDf9uE64roeiFxgp4Buyz+YwTGMmk2ki8cOLa3 YtpsVg7ATlrD6SRUP/8Y7esTD8SVhXqd4Z6Yvo+AXBSh0Q85z4AQVxMkutzK8ju98gts OE/E1OZsWq9SBHSZ/AHNRsaoMm5GZ4g+JmiprDK3ewLWaEJ3BTm0nqP0Mv4yXpsrq/ed qsOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700190031; x=1700794831; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cfh/n50sV9zDL7CpRsgoAkjALbUjhc6nk0SgI0MAzG8=; b=AJ9mdmDyEOVkflu9hayjz6bTXzw01OcKxEc41CGWook+jo/gkVE7oUYLbcYbvCEF5c TvK1hA1JLL+ixH4RacAaYE8fp3GgJlDa3xai2beETseKXt2f4rZfQXY89gYUW7iBPJcL X7lvwyvxLdmifIgcfirBt2Jybr6GQ6JsOqmz+IqPBBdFLPhrKwg1EIAg/oEBaHkDdthv wfaTIwXUKxfeK/OvfYc9VGuuKVnjx+zpp6Dsz7Y+VPrp7G5dW4zDJb2J3HHY6oPSkQyB 7jaO1WM+Su+5VItz+uzP5h3UK1KkSupsOyJlMkp5pu8XmlxE2IdLXqvUdGQQ0Ka4E1qG 0pzw== X-Gm-Message-State: AOJu0YwlHIbnFIlVF95ydOrXxV+2UfqDDBoFn7h0XwdLT7e+lWrTU5En JvBiQbyCp8ANM2QwsAmO9FE= X-Received: by 2002:ad4:5d47:0:b0:66d:303a:46bd with SMTP id jk7-20020ad45d47000000b0066d303a46bdmr7163090qvb.13.1700190030594; Thu, 16 Nov 2023 19:00:30 -0800 (PST) Received: from google.com ([205.220.129.19]) by smtp.gmail.com with ESMTPSA id rv13-20020a05620a688d00b0077a7d02cffbsm294058qkn.24.2023.11.16.19.00.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 19:00:30 -0800 (PST) Date: Fri, 17 Nov 2023 02:59:44 +0000 From: Dmitry Torokhov To: Jiri Valek - 2N Cc: Rob Herring , krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, u.kleine-koenig@pengutronix.de Subject: Re: [PATCH v5 3/3] Input: cap11xx - remove unnecessary IRQ parsing Message-ID: References: <20231108155647.1812835-1-jiriv@axis.com> <20231108155647.1812835-4-jiriv@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 16 Nov 2023 19:00:40 -0800 (PST) On Thu, Nov 16, 2023 at 08:43:00AM +0100, Jiri Valek - 2N wrote: > On 11/8/23 20:53, Rob Herring wrote: > > On Wed, Nov 8, 2023 at 9:57 AM Jiri Valek - 2N wrote: > >> > >> Separate IRQ parsing is not necessary, I2C core do the job. > >> > >> Signed-off-by: Jiri Valek - 2N > >> --- > >> drivers/input/keyboard/cap11xx.c | 10 ++-------- > >> 1 file changed, 2 insertions(+), 8 deletions(-) > >> > >> diff --git a/drivers/input/keyboard/cap11xx.c b/drivers/input/keyboard/cap11xx.c > >> index 4711ea985627..ccca9936ef25 100644 > >> --- a/drivers/input/keyboard/cap11xx.c > >> +++ b/drivers/input/keyboard/cap11xx.c > >> @@ -518,7 +518,7 @@ static int cap11xx_i2c_probe(struct i2c_client *i2c_client) > >> struct device *dev = &i2c_client->dev; > >> struct cap11xx_priv *priv; > >> const struct cap11xx_hw_model *cap; > >> - int i, error, irq; > >> + int i, error; > >> unsigned int val, rev; > >> > >> if (id->driver_data >= ARRAY_SIZE(cap11xx_devices)) { > >> @@ -624,13 +624,7 @@ static int cap11xx_i2c_probe(struct i2c_client *i2c_client) > >> if (error) > >> return error; > >> > >> - irq = irq_of_parse_and_map(dev->of_node, 0); > > > > Probably can drop the include of of_irq.h as well. > Ack. Thanks for notice! I replaced it with #include and applied, thank you. -- Dmitry