From patchwork Tue Sep 27 15:46:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12990884 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 9D7A0C6FA83 for ; Tue, 27 Sep 2022 15:48:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231797AbiI0Psy (ORCPT ); Tue, 27 Sep 2022 11:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232869AbiI0Psc (ORCPT ); Tue, 27 Sep 2022 11:48:32 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 102F0B40D3; Tue, 27 Sep 2022 08:46:15 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id 78so9734290pgb.13; Tue, 27 Sep 2022 08:46:15 -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=PSNk7s384Z23aLn5Ts/fh2+6l6mQAiWhXglxXj3QkQo=; b=I9tU3OGuKElcXtC5fj11d05cuOJHUUcF594AcLK7mVLG4TfilDQKwNFLo+pHZ+rlUi t3yyq9NBQDnNpyfvaiQkmS4UjguM80jgoVVXcg1wczG0EL1lygLQ2VptOeg7Y0U9bUlQ ZKSVKHZm2i/3vGyg/ufZQpM9hfUz2Qdf1aJl4IYxpM7ZMB+8CgIPTZk3Pr3oJU30jXSr 3c0Fz4A4YeQhQ6feVcznoq4iIkofrcW59BG2ifE+AU9Oe9Hcar6UlUk6u3hOnFX7kuLq JW1UNYj4MWfhU6XxZXheiAOEJK4gr/afkWbwHv+pJYrTur+U+ZihD0/vS5LYf3nosqeI EDiA== 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=PSNk7s384Z23aLn5Ts/fh2+6l6mQAiWhXglxXj3QkQo=; b=reKJyFkEZ0ulWB2d9r1uE4Bddd7s3rjVkfVSazJqtNILDf6bKwJRdc9HH7DHIOQ9Vx 67jW8IhUKDmih1D8oKT+HwmKacSY/EXSzk71WvirsUtRx2uXdVogPPS385LsA4RFkB9u dC073Ttf8bERvLn3k2fwLSgG+UQ2KWgSXrR6RSuI7vd5jJyls3sqExa0AYPMqSkPkKRB Q8A4EAt0B15xlqG2FbsEBorYMiW9LKmUtemk97uW6VrRle6oQCfk7iuMbWKupTprwgKW rxyt2JwIuNJWDylObbhl9DXqL2zwew+H0D01PD1E/EPaqHfmploWam1faBJCy73GAbhW P+Nw== X-Gm-Message-State: ACrzQf0hzOmGwgtFbl7IlaenLrq9h41GRWizYF6/Wq8VHRBC6MNAu4K3 49zXEbgsNT0MkfroNKRk7Lw= X-Google-Smtp-Source: AMsMyM5FtxO56pH1RDQtuutIKpl7iKPoYUGXg2P6c2fkmidL/yLHRjZkfLcZBJZ8ZiYaHcSn2mWyFQ== X-Received: by 2002:a62:82cc:0:b0:553:e631:14f0 with SMTP id w195-20020a6282cc000000b00553e63114f0mr29760685pfd.63.1664293575224; Tue, 27 Sep 2022 08:46:15 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:9739:ab49:3830:2cbb]) by smtp.gmail.com with ESMTPSA id cp7-20020a170902e78700b0017839e5abfasm1681204plb.263.2022.09.27.08.46.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:46:14 -0700 (PDT) From: Dmitry Torokhov To: Jonathan Cameron , Lee Jones , Wim Van Sebroeck , Guenter Roeck Cc: Lars-Peter Clausen , Tony Lindgren , Andy Shevchenko , linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] watchdog: twl4030_wdt: add missing mod_devicetable.h include Date: Tue, 27 Sep 2022 08:46:09 -0700 Message-Id: <20220927154611.3330871-1-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The driver is using of_device_id and therefore needs to include mod_devicetable.h header. We used to get this definition indirectly via inclusion of matrix_keypad.h from twl.h, but we are cleaning up matrix_keypad.h from unnecessary includes. Signed-off-by: Dmitry Torokhov Reviewed-by: Guenter Roeck --- v2: changed from of.h to mod_devicetable.h per Andy Shevchenko drivers/watchdog/twl4030_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/twl4030_wdt.c b/drivers/watchdog/twl4030_wdt.c index 355e428c0b99..36b4a660928d 100644 --- a/drivers/watchdog/twl4030_wdt.c +++ b/drivers/watchdog/twl4030_wdt.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include From patchwork Tue Sep 27 15:46:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12990885 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 51CADC6FA93 for ; Tue, 27 Sep 2022 15:49:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232311AbiI0Ps5 (ORCPT ); Tue, 27 Sep 2022 11:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232907AbiI0Pse (ORCPT ); Tue, 27 Sep 2022 11:48:34 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AF01564C3; Tue, 27 Sep 2022 08:46:17 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id 3so9788498pga.1; Tue, 27 Sep 2022 08:46:17 -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=K/Y50x8uRW4/ciESXUUosuQ4M90fKpbP4EQ32Q8eIFQ=; b=foalrFt/P90pmcsxH33esRxAV/LnpCsbAy4EuCxUiN0BjqV9tAWh3GAZTOojXjrbjf jTZVpc4bdSmWL1lclbCjrndWg4enrqIuYuwAjldrdNdWx8JOO1vjz8Gk2hAHurbFMBSH hFZ8rsTkYyhXeGWOyxwmfgfj4PFYSwAApuLQrseWgjQZiKXiNVdJHHffed+BD03IczWm fjZpJjtJ5QCAiNxeaxubOw9chkzVY+WabvkE1uQ4Oi/lTg2/CIqGMsbeKwpIJgkdoIIA lZfFcAB4EkjhH3OUk40Bzc+A1RAFyn1YJqCrqFo+oJS4Ey74cd52zrJg3d/eDUxBjmn/ nFhQ== 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=K/Y50x8uRW4/ciESXUUosuQ4M90fKpbP4EQ32Q8eIFQ=; b=jB8wsVz5UDxUIVJXKfcGUJewUl/3pzmxenyrQTo6/S9sRykzpl41kb066yeUua7QzV 1uYIQRdfHVAI838JFTIYvWsUYrkMc6w6yNIx34cTHMs0h43kg1Cr9QdlU63YQ1rx8jqB ImcQMr5885wkIvJhMHqqMZj2LHpByaKfega4aOEyO4RK4vQ0IRSpJ2MOycUldENJkEkH Y3PR8a16VxK76YDzH9vr6aM3KXvlqPDHZSGwRw/BNzGbN8UPb436QoG5hWpq0OmDdfrx 2qNcaF2M2y5x6Ae6OOY7/ZFLBOrwEjIRJz5uJDenYb4Tk9W9mfUBRAsULNWiqwJ1VNal PhzQ== X-Gm-Message-State: ACrzQf3W8E77FeGxmdJWcSOURVH7/tMfKrCRfD13AAdaVj7G6OGNeVUr GNFRNnqS2qpUZLjqsN/6vMw= X-Google-Smtp-Source: AMsMyM5y/SxA8s24YL8kfePQXQdC3cF1Q3Wv2DwE1lscIZfvfuwaYqH1+XRXkPIr9gtJh5KV3hNMzA== X-Received: by 2002:a05:6a00:2446:b0:528:5da9:cc7 with SMTP id d6-20020a056a00244600b005285da90cc7mr30485639pfj.51.1664293576722; Tue, 27 Sep 2022 08:46:16 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:9739:ab49:3830:2cbb]) by smtp.gmail.com with ESMTPSA id cp7-20020a170902e78700b0017839e5abfasm1681204plb.263.2022.09.27.08.46.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:46:16 -0700 (PDT) From: Dmitry Torokhov To: Jonathan Cameron , Lee Jones , Wim Van Sebroeck , Guenter Roeck Cc: Lars-Peter Clausen , Tony Lindgren , Andy Shevchenko , linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] mfd: twl4030-irq: add missing device.h include Date: Tue, 27 Sep 2022 08:46:10 -0700 Message-Id: <20220927154611.3330871-2-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20220927154611.3330871-1-dmitry.torokhov@gmail.com> References: <20220927154611.3330871-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The driver is using "struct device" and therefore needs to include device.h header. We used to get this definition indirectly via inclusion of matrix_keypad.h from twl.h, but we are cleaning up matrix_keypad.h from unnecessary includes. Reviewed-by: Andy Shevchenko Signed-off-by: Dmitry Torokhov --- v2: added Andy's reviewed-by drivers/mfd/twl4030-irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/twl4030-irq.c b/drivers/mfd/twl4030-irq.c index 4f576f0160a9..87496c1cb8bc 100644 --- a/drivers/mfd/twl4030-irq.c +++ b/drivers/mfd/twl4030-irq.c @@ -14,6 +14,7 @@ * by syed khasim */ +#include #include #include #include From patchwork Tue Sep 27 15:46:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 12990886 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 35005C6FA83 for ; Tue, 27 Sep 2022 15:49:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232318AbiI0Ps7 (ORCPT ); Tue, 27 Sep 2022 11:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232925AbiI0Psh (ORCPT ); Tue, 27 Sep 2022 11:48:37 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFFCAB602E; Tue, 27 Sep 2022 08:46:18 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so15933913pjq.3; Tue, 27 Sep 2022 08:46:18 -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=wMvcXz6njxFqTkf6vcxe/vNIZjFAgSwlMQsOVeR0+8M=; b=jPawEHHILhsPfvMKuPsObAHlThgGKv81yzVkz5Ryj7HP6E5dMzCqSjNgKfEDss828w GS8xx6/3CeNMdUe9Uppr1P4axJwRPDV5sHljxwyE6gzTdRQ+1qPqMG/UcAJ3l9jZdW/5 RdYmGHtywCQR69IbIMSBNliNGwaBucPonNNEKl34ARl6MeI5FJMzqFEL6E7guhVEk7jv NY1pDTm4pILsLtwJPYbIJlFyeOVI0bk6ZwHlFDW83qE0+lCST8uwHTfpeRN87PEXbRui ETWoy95MnLW3p3T3OzYEbML+cbOFTzCVToSGid4ZihQRx/xLGb4TOlm83OS0Cb5R6Ux4 weIw== 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=wMvcXz6njxFqTkf6vcxe/vNIZjFAgSwlMQsOVeR0+8M=; b=P5dnKLyBBIEGZImI1/nKWY2AEHhTMega38k/EBI6wa35udIzK96pKpHxRNUWp/WIeF b7Q9pJIRfk9FvH7JUSvDGJIDRWNZlMd6CoYNQhNZplzUy7bJv+XUmPSucht0Wuh6xCo3 2x7JOV+yF/FGXgUehz/RZ04ZkGtRxzrEhHiJNYfntvR51XdZstCKBZjSM11J3RYVu/vj 21kimhG5z0yJxWZmgJcgc0fkRyt1DKuaPhvRApk6Fzf8ZyJteyxHvtVZll57hg9e9jBW Mvct0nHOyI+r9e/UJ7EMgPlfSCvooPqbjWJV4HkaBBqyd2t7mQPHRsJIGfjbRHiY0dh9 +iyA== X-Gm-Message-State: ACrzQf3ndOW70aycMKlVvS0zkhhKEAPZcvNio5uVIpnnTCe1tLcBCMxs RSww/jF0EjnG1xWAblfNgaw= X-Google-Smtp-Source: AMsMyM5r8WFjVQ3qChKKd71TapR7vlIDeaT1mxjSbZ4MzQYLdoiie7jcWk6g7JKGEdRlLyucKRDchw== X-Received: by 2002:a17:90a:64c8:b0:202:6d4a:90f8 with SMTP id i8-20020a17090a64c800b002026d4a90f8mr5377585pjm.11.1664293578171; Tue, 27 Sep 2022 08:46:18 -0700 (PDT) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:9d:2:9739:ab49:3830:2cbb]) by smtp.gmail.com with ESMTPSA id cp7-20020a170902e78700b0017839e5abfasm1681204plb.263.2022.09.27.08.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 08:46:17 -0700 (PDT) From: Dmitry Torokhov To: Jonathan Cameron , Lee Jones , Wim Van Sebroeck , Guenter Roeck Cc: Lars-Peter Clausen , Tony Lindgren , Andy Shevchenko , linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include Date: Tue, 27 Sep 2022 08:46:11 -0700 Message-Id: <20220927154611.3330871-3-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog In-Reply-To: <20220927154611.3330871-1-dmitry.torokhov@gmail.com> References: <20220927154611.3330871-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org The driver is using of_device_id/of_match_ptr() and therefore needs to include of.h header. We used to get this definition indirectly via inclusion of matrix_keypad.h from twl.h, but we are cleaning up matrix_keypad.h from unnecessary includes. Signed-off-by: Dmitry Torokhov Reviewed-by: Andy Shevchenko Reviewed-by: Andy Shevchenko Acked-by: Jonathan Cameron --- v2: adjusted patch description drivers/iio/adc/twl4030-madc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c index f8f8aea15612..c279c4f2c9b7 100644 --- a/drivers/iio/adc/twl4030-madc.c +++ b/drivers/iio/adc/twl4030-madc.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include