From patchwork Fri Sep 23 19:47:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12986929 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A921C04A95 for ; Fri, 23 Sep 2022 19:47:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231566AbiIWTrq (ORCPT ); Fri, 23 Sep 2022 15:47:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiIWTro (ORCPT ); Fri, 23 Sep 2022 15:47:44 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E425B12E421; Fri, 23 Sep 2022 12:47:43 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id u69so1192831pgd.2; Fri, 23 Sep 2022 12:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=dYW2QvrbYPxRlGnPxo3uZr3e/x2sb01bmiBhimSNx+g=; b=qZX3vRZuZ+fRu6tDcq0SK4OgJZ6DD+ik97Xmvg+swWF9LVCQktV9X7ebQ5e360CPfh 51YBE9eelQ0/VWnng4ARoGc9rIa8CWWQRE9rU4JiFVxQ3zfbXe/tvt86P1EL1pErvQa6 O92lSeukBSSqPRZ3ubs8dJpin2MabE1TZ2LhTkr/VJn1XeJPZsQ4fqDVTQUM2nrSxiT1 2U6Fl+f54qTeUPQhg2WgXCLlwTmhvf2eC9Tl2VwidesfgAsoA9lbPwqvfKU4xzlTS4TA Dnj8PYwBtciBGe0oVCcD3QpZtA3TK5xDCzkEgN98CCdUhtOYO2eO6Atu7Rpin4g12l8c 5AdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=dYW2QvrbYPxRlGnPxo3uZr3e/x2sb01bmiBhimSNx+g=; b=Jgj14qeh61QoJLDIpF5nx3DkXSFyRqAG9zw5sLEsiEtuuiN0pgeA+kk11XbnrU0/5S H0IRvbtHlxP5Pau5aDsfzigkUiMFCbXkyt8S4GkqZRYAcbzawST2pLPEkYYEctJ9Li1u X5O5ypgoWKtz9eIWLpwr/ZVLum5dqCPpdb5ahK35R1J7hr1g9Sej3Fk9i6xr5vICnlFl VqCljCdvy20XBAZLMncFYZBEij37grdLJoX+jcdwvpGj50CyoIFteNUa/qJuLWD4WEgO ohDVine1CvsKKQ0ML38jAS2gcy1AD50Nl0U+AHvzp4legWzE2NJMIi07rq+DwJEJqsqc koEw== X-Gm-Message-State: ACrzQf0sUyQPFL7JJ3RID7Zc527AqHk8Q5bPJpQxwOr2ia6NHDI1H6L9 JBAhKh6PWkAMwfuOQufZnqQ= X-Google-Smtp-Source: AMsMyM4cCqqysTgzMQTMKzRJROfgK/UDjNAB2DNKRBILlYpsh6gy8TqUFLGkYmPoV8PdF1ZnQZwdVg== X-Received: by 2002:a63:4752:0:b0:439:5dcc:fd78 with SMTP id w18-20020a634752000000b004395dccfd78mr8777279pgk.104.1663962463312; Fri, 23 Sep 2022 12:47:43 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:8b46:be3c:2c54:68a5]) by smtp.gmail.com with ESMTPSA id e7-20020a170902784700b001753cb9893csm6405187pln.187.2022.09.23.12.47.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 12:47:42 -0700 (PDT) From: Dmitry Torokhov To: Andy Shevchenko , linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/5] Input: lm8333 - add missing linux/input.h include Date: Fri, 23 Sep 2022 12:47:34 -0700 Message-Id: <20220923194738.927408-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org We are going to clean up matrix_keymap.h from unnecessary includes, so the driver needs to include API that it uses directly. Also let's sort includes alphabetically and drop unneeded irq.h Signed-off-by: Dmitry Torokhov Reviewed-by: Andy Shevchenko --- drivers/input/keyboard/lm8333.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/input/keyboard/lm8333.c b/drivers/input/keyboard/lm8333.c index 9dac22c14125..3052cd6dedac 100644 --- a/drivers/input/keyboard/lm8333.c +++ b/drivers/input/keyboard/lm8333.c @@ -4,13 +4,13 @@ * Copyright (C) 2012 Wolfram Sang, Pengutronix */ -#include -#include -#include #include -#include +#include #include #include +#include +#include +#include #define LM8333_FIFO_READ 0x20 #define LM8333_DEBOUNCE 0x22 From patchwork Fri Sep 23 19:47:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12986930 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E600AC07E9D for ; Fri, 23 Sep 2022 19:47:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232230AbiIWTrr (ORCPT ); Fri, 23 Sep 2022 15:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbiIWTrp (ORCPT ); Fri, 23 Sep 2022 15:47:45 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1151B12E431; Fri, 23 Sep 2022 12:47:45 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id p1-20020a17090a2d8100b0020040a3f75eso1140278pjd.4; Fri, 23 Sep 2022 12:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ffTYnVeFbIPqAewxfNP3TKdgr0vC1abBfdtqXdSTqAc=; b=TYLJshbXSSqCaOHn3+Yo+a4P+5A8iKv5Qk+6cjDcttyEr85pQLjfPgnJ9yVVeXrYo6 xH7CTkAvSUf4fLqnxEKrWV8RZYlWQjZGIdFvCWM2Ej/WEa/wdfoBzYxr0T5N6jvip28t qNs1VgkluI45oCvMXbrATLR47rAwgP5Dl3DkGP/eVAoZwOzxHKZYg+Hc1smIZmY0j8/i Pp0dxiZH+/+4KIB49gHPBeRnA14BAT/Q9moeTFCnyrqCUnte9LG/pneVZd6mKrfZMUAA DcRwUvPrXvnZieSQyUu3HgN0pFl6s/IN5dydMGKYKknhJOY098QBYzZ/T6hLqmXFwcmZ Afmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=ffTYnVeFbIPqAewxfNP3TKdgr0vC1abBfdtqXdSTqAc=; b=haOtaP09vfVDRM+5hfvx/1foj4NPXrSiiUU2+YS4kzeDG5tMwn+Cc4FmnlN8h48yhA Q2iPhKYzH/RA0ZDIF3giuq2BRFHkuBkfMgiBAUHLB3CwJvo1e2gKA2f6F5J/P6GABY5J O28r7lbypECpDgt4Xo+Kv3DTZNlQeGrzY+Rvr6rzGqtHrgaykSDTtawJxbhuAZPKlHWS kFRFOYk+MTvXz0bHUukOdaQGhdUpRZLjktIiNxd8Iuqx/rCDPW1h1ctn3oxl/xqPDjDe 8tZq6zxZmfPV9CQ5+ia5hJYdaVDJGrUedB2JyOIo2NiKjPqsk3ysV7wJOX+uB6JBlGdB WilQ== X-Gm-Message-State: ACrzQf14RVy3/mzx3L2G0SJqliaeuh5XBWqEEhfT2XQ0yQAWVsGDT/Gj +nCERN0/OaayfL/+3Seg+fI= X-Google-Smtp-Source: AMsMyM4F2JactmG/aq5OYlpGOLQOdVSFq6PAqY4ZJQ5x9G57Za3RduFn/1Njk1soRdG3EZFYOxh72A== X-Received: by 2002:a17:903:244e:b0:178:4f50:1ca0 with SMTP id l14-20020a170903244e00b001784f501ca0mr10059622pls.104.1663962464450; Fri, 23 Sep 2022 12:47:44 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:8b46:be3c:2c54:68a5]) by smtp.gmail.com with ESMTPSA id e7-20020a170902784700b001753cb9893csm6405187pln.187.2022.09.23.12.47.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 12:47:44 -0700 (PDT) From: Dmitry Torokhov To: Andy Shevchenko , linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/5] Input: st-keyscan - add missing linux/input.h and linux/of.h includes Date: Fri, 23 Sep 2022 12:47:35 -0700 Message-Id: <20220923194738.927408-2-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220923194738.927408-1-dmitry.torokhov@gmail.com> References: <20220923194738.927408-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org We are going to clean up matrix_keymap.h from unnecessary includes, so the driver needs to include API that it uses directly. Also let's sort includes alphabetically. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/st-keyscan.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/input/keyboard/st-keyscan.c b/drivers/input/keyboard/st-keyscan.c index a045d61165ac..a62bb8fff88c 100644 --- a/drivers/input/keyboard/st-keyscan.c +++ b/drivers/input/keyboard/st-keyscan.c @@ -8,12 +8,14 @@ * Based on sh_keysc.c, copyright 2008 Magnus Damm */ -#include -#include -#include #include -#include +#include #include +#include +#include +#include +#include +#include #define ST_KEYSCAN_MAXKEYS 16 From patchwork Fri Sep 23 19:47:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12986931 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 442A4C6FA83 for ; Fri, 23 Sep 2022 19:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232438AbiIWTrr (ORCPT ); Fri, 23 Sep 2022 15:47:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232327AbiIWTrr (ORCPT ); Fri, 23 Sep 2022 15:47:47 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6364F12E421; Fri, 23 Sep 2022 12:47:46 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id d11so1077824pll.8; Fri, 23 Sep 2022 12:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Umtw5U+2C1YvRCtVCzaHAYVNPeE1SBV++NXDObHk7W4=; b=QDjFo+Bs5GB5tFbtgNnlluw+UEyIr8ul5dkQpIExW3Tx0+cPjncIhqP9oZCwl4qwjg RmFqeF3fsDllVE6tlouu2xNYFbW2lCSD5VO/hGzVSRsYdUktqyKCus6hvVuq5HPw1+MF /rmC569kXE96BXBtXC3TQSJc5aSxPJ3rkJWWZEH9k+PEWvkM749QGKur1mqpJSypImVA vwPP7kn669d++MToBQfJCnCa4xidqtQm158sYE1zfxGejhwMe9UVQnvyk0Woi8dIL08q wjogWOBvt/lYtlF1PIYuiKmbiMKXXwV/VClWVZrV+Fap/SEmtMcd4qMhefFkHNKn3Z4X PXtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Umtw5U+2C1YvRCtVCzaHAYVNPeE1SBV++NXDObHk7W4=; b=1S1dy1RIal2jbndWCYSQXb718nKZFZuPLa+63sUQzgJ+/6hNZAtMxKVGJyy0lod8U7 78Vb8vJaiFRYHwD2hE5LAAvCmtAHOT4NufC2WZl3IPcMFfnoF/BYvWpv3C7LtT1pqApu PX0NmeK+JrfQbFbDe0a0zsoI7pY5OY9ypsvtXcZAtnYt+9xljF1Iz5LwIIlsI8FYp63M cNA0ZqgQNCEHfOisgyrJnHNBo4leNIVWVz6RxkjrEkKTx3p87AIBkWwIUcHD+eoM6YQ6 DRUFLsbCTa2wShPx4m1MSBhHU+tJ2bdJ8SMRnDE0dOSCJPPZHKkUhn79sJ/yhu8nWSZ0 KxnQ== X-Gm-Message-State: ACrzQf2fHB25ljikE2MleEyxkI3TfatB5XetlWepcYIhYjPEzKEM5LmW set0hMiLwN7h167HAouIZKc= X-Google-Smtp-Source: AMsMyM6BnL/3/RhPpUBDt+cSJSkBqexnaPIk5Z9dyBi4JnKWc7R7yvTR78RJEqcuQZakgbaZ6UDjhg== X-Received: by 2002:a17:903:4049:b0:178:3128:b57e with SMTP id n9-20020a170903404900b001783128b57emr10078308pla.75.1663962465719; Fri, 23 Sep 2022 12:47:45 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:8b46:be3c:2c54:68a5]) by smtp.gmail.com with ESMTPSA id e7-20020a170902784700b001753cb9893csm6405187pln.187.2022.09.23.12.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 12:47:45 -0700 (PDT) From: Dmitry Torokhov To: Andy Shevchenko , linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 3/5] Input: mt6779-keypad - add missing linux/input.h include Date: Fri, 23 Sep 2022 12:47:36 -0700 Message-Id: <20220923194738.927408-3-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220923194738.927408-1-dmitry.torokhov@gmail.com> References: <20220923194738.927408-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org We are going to clean up matrix_keymap.h from unnecessary includes, so the driver needs to include API that it uses directly. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/mt6779-keypad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/keyboard/mt6779-keypad.c b/drivers/input/keyboard/mt6779-keypad.c index a05e70af1fd0..19f69d167fbd 100644 --- a/drivers/input/keyboard/mt6779-keypad.c +++ b/drivers/input/keyboard/mt6779-keypad.c @@ -5,6 +5,7 @@ */ #include #include +#include #include #include #include From patchwork Fri Sep 23 19:47:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12986932 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7CD0C04A95 for ; Fri, 23 Sep 2022 19:47:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229612AbiIWTru (ORCPT ); Fri, 23 Sep 2022 15:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232234AbiIWTrt (ORCPT ); Fri, 23 Sep 2022 15:47:49 -0400 Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDCFE12EDBF; Fri, 23 Sep 2022 12:47:47 -0700 (PDT) Received: by mail-pf1-x431.google.com with SMTP id u132so1088924pfc.6; Fri, 23 Sep 2022 12:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=DO6nah4yVA5+JPZBNm4fAwSKmX1/HsdS5q9wlevQQFo=; b=E80649AYkMcSdcAceqdNIgFNs7OVCndbieNeb4tdnO+tDdoGgS2eVtZACqqFYag5B7 Sc48ChMuN51L3mbU83KBQsdbVfBA+WY8tP5qAKY9LjCoq4qcuiVtLJVs65V8r0RtJ8KC FlHFNxqhLkHnihZP5rnru66Llvef+Ut/cF/m9E47d7RTgQwiMh1Uo4llwYx3jdW/fvQE SeyyUOIAG/B1hZ/FEIter5YtnmU+K8zdLvmB2ytClDzSC40IfBj3D3RnxNe+rvPxFTqP JkGM0MfG+HzFwwpbh4eLNB9hT4SRY9N+IU+HdUJbiqufT8UZXIEADhSTlVT2RWZn1SSA K/tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=DO6nah4yVA5+JPZBNm4fAwSKmX1/HsdS5q9wlevQQFo=; b=xRzJ/29VOr1yU5wzpqRo/v2JHnmsk8+6KbafaRsy8TBoGBm9WU44EAaHZ2FWwTOJBk qh+qlpehVqTomTo3KGJQOwhIaxHQLhNs45K+qJYs8Wnzl07T3tuGSJLBX45tTCCxHjFp vMw4coXIBcYDlzfY8DbwkaKXmfimeib+V+0teK6d90GIcWdj25vIPmOLaqkEmIzbzXYi iw2DaYDd9Zur1Nrdzxp0a4l7/Z3N4Dn8vOgYROdhTch/tYm3QzKJmfvt7K/xe4AwCaol YEPUEYAtzDtoN1dR6oOsWLyowyf2OJF381ExHeTygQHByaTxm4e+mW5JVwIjq9+o0ow1 k0tg== X-Gm-Message-State: ACrzQf1zi7gcxJuIs4NqFYaYO6OIjXYHIhACWOwkPTEhOSg8HJBrH/IU 7hd5L6sAqnRopIkXcByVtb0= X-Google-Smtp-Source: AMsMyM5jr6W45nG0ti4UHqzUQpqznTTn+4bzKqgajLbnJkp1K9WP9xXvP5FeSAGPGoUWq7F3y+bV8Q== X-Received: by 2002:a63:3348:0:b0:439:db24:8b02 with SMTP id z69-20020a633348000000b00439db248b02mr8891864pgz.425.1663962467029; Fri, 23 Sep 2022 12:47:47 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:8b46:be3c:2c54:68a5]) by smtp.gmail.com with ESMTPSA id e7-20020a170902784700b001753cb9893csm6405187pln.187.2022.09.23.12.47.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 12:47:46 -0700 (PDT) From: Dmitry Torokhov To: Andy Shevchenko , linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 4/5] Input: imx_keypad - add missing linux/input.h include Date: Fri, 23 Sep 2022 12:47:37 -0700 Message-Id: <20220923194738.927408-4-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220923194738.927408-1-dmitry.torokhov@gmail.com> References: <20220923194738.927408-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org We are going to clean up matrix_keymap.h from unnecessary includes, so the driver needs to include API that it uses directly. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/imx_keypad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/keyboard/imx_keypad.c b/drivers/input/keyboard/imx_keypad.c index ae9303848571..e15a93619e82 100644 --- a/drivers/input/keyboard/imx_keypad.c +++ b/drivers/input/keyboard/imx_keypad.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include From patchwork Fri Sep 23 19:47:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12986933 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2317BC6FA83 for ; Fri, 23 Sep 2022 19:47:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232494AbiIWTrw (ORCPT ); Fri, 23 Sep 2022 15:47:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232449AbiIWTru (ORCPT ); Fri, 23 Sep 2022 15:47:50 -0400 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F362E12F758; Fri, 23 Sep 2022 12:47:48 -0700 (PDT) Received: by mail-pj1-x1029.google.com with SMTP id a5-20020a17090aa50500b002008eeb040eso8297003pjq.1; Fri, 23 Sep 2022 12:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=DfoxSGkoCPcsjyBQ6vXBa3Fl9VYJoc1EvFitWLZdJDQ=; b=ku6/tJ7jNx+YkwGb4fOY2bohNBMoW7drOBFx3VzG6AaSY3ccX4jrCl5PvIHwip4CTx 0jfZsGKE6bJWoA+KJdCX79s3JWyZP4j6Nd97kH1C6EWXdBv3XUlQjHB+SGeFHItU5gru +R57BUUkNcJVN94Uv1hz7Z5oDxdiptDDM+rvtBO+3/L8cI9KIiKRANMmeNovCfWclD04 2CLFBhbhlHDBsFmhRx+mEdMaB9izsRAi1iw9B6DWq4Zw6s+7xs3GpAYDyhshOGpdWciB T4Ez7tsMALggYk44jI0KMixv9JvZL+k5XGaC/pcFNPpJo9zjW6YBgddEm2yWaFsqYX17 U2hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=DfoxSGkoCPcsjyBQ6vXBa3Fl9VYJoc1EvFitWLZdJDQ=; b=aU3751jqLz1wlSWmDw0A5L5Z0CagzbfhDv603Sj+/tupkflI7UoMH8q8z7nwTYsbKd j7z0byNKvLVXNY7ebGSoMH9dctEKFPexkO92+TN23l1KkMbtR1LXyxEZH/QNY2dHL0tk a+jDR6hxjtppzaEg2OsxFo1GEDET46KZA64O051nu1GdFhB4b/cMFUn6+FEnOPcNR2HL 3QKHdhWRg6BFI9jy95F6gTZbADRZcN2KdAn6+VLKVqNtJ+n7LXJQP0oSAIwMY0qdDQjJ rcvExkmO+ZQtrFgFWGxnQtlqIKSdM7mXDE05FmEdgDkOY9WlVeXeLuC9gK/d1nfME+nk BmVA== X-Gm-Message-State: ACrzQf1quOCYvgRimTZJw0klNmX9PYD+Yc33iCPRf/pfoOjjkwjA6/fh yUinLvJAd8LAG93fMgGkFhDHX21NqTw= X-Google-Smtp-Source: AMsMyM4RxL4b8HkBhuIcqD0cIW+h4JwEbe2LiBKEY0rD6fTVUoBbLcb2athbrAblJSk1BnIZy2LvXw== X-Received: by 2002:a17:902:c7d1:b0:178:54cf:d69e with SMTP id r17-20020a170902c7d100b0017854cfd69emr10218186pla.86.1663962468369; Fri, 23 Sep 2022 12:47:48 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:8b46:be3c:2c54:68a5]) by smtp.gmail.com with ESMTPSA id e7-20020a170902784700b001753cb9893csm6405187pln.187.2022.09.23.12.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 12:47:47 -0700 (PDT) From: Dmitry Torokhov To: Andy Shevchenko , linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 5/5] Input: ep93xx_keypad - add missing linux/input.h include Date: Fri, 23 Sep 2022 12:47:38 -0700 Message-Id: <20220923194738.927408-5-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog In-Reply-To: <20220923194738.927408-1-dmitry.torokhov@gmail.com> References: <20220923194738.927408-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org We are going to clean up matrix_keymap.h from unnecessary includes, so the driver needs to include API that it uses directly. Signed-off-by: Dmitry Torokhov --- drivers/input/keyboard/ep93xx_keypad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c index 7a3b0664ab4f..f5bf7524722a 100644 --- a/drivers/input/keyboard/ep93xx_keypad.c +++ b/drivers/input/keyboard/ep93xx_keypad.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include