From mboxrd@z Thu Jan 1 00:00:00 1970 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 72224C6FA82 for ; Tue, 27 Sep 2022 16:20:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232320AbiI0QUI (ORCPT ); Tue, 27 Sep 2022 12:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232361AbiI0QUH (ORCPT ); Tue, 27 Sep 2022 12:20:07 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F09CB33F; Tue, 27 Sep 2022 09:20:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1664295606; x=1695831606; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=fPmwcwWibusnzVeAPQ/NG5NTj0eFT7ARGzWz5OODo54=; b=d5fcbNWnlWmJIStzE3YNnkILwfnd3uRsNv4bKIoa4EsMM63o+aOm8RuQ gtk0Fv3WqMtyrhnVs5vpQ2fNe8Vi+ejDa4rtmnrgjf0d+cu0zU2kR/sHE qFBVnL+21IZx6TMjaVORV3Px91D+Z5cUVDB8/tOGCw2FfiD8IvqiDRYe7 yajRuCMLXi4MSVGqJSm1GnU7q7Un5wkbXCObsZiSjU3LyZ1gZuOJlzYcy X7aGJUJJoNGaZPRJXkxNc4vmADujn2C4AkEsIYSujZJQYlQ6Vc+WDF3M3 AbBY0T8Oo697UFr2KMYywuTWOYw48cr3uVAM575GyXEz0+2+hwrQ8ZR30 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10483"; a="302270803" X-IronPort-AV: E=Sophos;i="5.93,349,1654585200"; d="scan'208";a="302270803" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Sep 2022 09:20:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10483"; a="616885930" X-IronPort-AV: E=Sophos;i="5.93,349,1654585200"; d="scan'208";a="616885930" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007.jf.intel.com with ESMTP; 27 Sep 2022 09:20:02 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1odDJQ-008WhJ-2p; Tue, 27 Sep 2022 19:20:00 +0300 Date: Tue, 27 Sep 2022 19:20:00 +0300 From: Andy Shevchenko To: Dmitry Torokhov Cc: Jonathan Cameron , Lee Jones , Wim Van Sebroeck , Guenter Roeck , Lars-Peter Clausen , Tony Lindgren , linux-iio@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/3] iio: adc: twl4030-madc: add missing of.h include Message-ID: References: <20220927154611.3330871-1-dmitry.torokhov@gmail.com> <20220927154611.3330871-3-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220927154611.3330871-3-dmitry.torokhov@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Tue, Sep 27, 2022 at 08:46:11AM -0700, Dmitry Torokhov wrote: > 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. Reviewed-by: Andy Shevchenko > Signed-off-by: Dmitry Torokhov > --- > > 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 > -- > 2.38.0.rc1.362.ged0d419d3c-goog > -- With Best Regards, Andy Shevchenko