Re: [PATCH] regmap: soundwire: remove unsed header mod_devicetable.h

From: Tom Rix
Date: Sat Aug 29 2020 - 14:23:11 EST



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@xxxxxxxxxx>
> ---
> 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"