lkml.org 
[lkml]   [2020]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] regmap: soundwire: remove unsed header mod_devicetable.h
From
Date

On 8/29/20 3:39 AM, Vinod Koul wrote:
> mod_devicetable.h does not seem to be required for this file, so
> remove it.
>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
> drivers/base/regmap/regmap-sdw.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/base/regmap/regmap-sdw.c b/drivers/base/regmap/regmap-sdw.c
> index 50a66382d87d..c92d614b4943 100644
> --- a/drivers/base/regmap/regmap-sdw.c
> +++ b/drivers/base/regmap/regmap-sdw.c
> @@ -2,7 +2,6 @@
> // Copyright(c) 2015-17 Intel Corporation.
>
> #include <linux/device.h>
> -#include <linux/mod_devicetable.h>
> #include <linux/module.h>
> #include <linux/soundwire/sdw.h>

This looks ok because mod_devicetable.h is #include-ed in soundwire/sdw.h

Tom

> #include "internal.h"

\
 
 \ /
  Last update: 2020-08-29 20:23    [W:2.303 / U:1.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site