Skip to content

Commit 860e980

Browse files
ukleineklag-linaro
authored andcommitted
mfd: lp3943: Drop #include <linux/pwm.h> from header
The header doesn't make use of any symbols declared in <linux/pwm.h>. There are tree files that #include <mfd/lp3943.h>. Two of them (i.e. drivers/gpio/gpio-lp3943.c and drivers/mfd/lp3943.c) also don't use any and the third (drivers/pwm/pwm-lp3943.c) has an explicit include of <linux/pwm.h> itself. So drop the unused include. The intended side effect is that drivers/gpio/gpio-lp3943.c and drivers/mfd/lp3943.c stop importing the "PWM" module namespace. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 417206a commit 860e980

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/mfd/lp3943.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define __MFD_LP3943_H__
1212

1313
#include <linux/gpio.h>
14-
#include <linux/pwm.h>
1514
#include <linux/regmap.h>
1615

1716
/* Registers */

0 commit comments

Comments
 (0)