]> www.infradead.org Git - users/dwmw2/linux.git/commit
mfd: lp3943: Drop #include <linux/pwm.h> from header
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Wed, 12 Feb 2025 17:04:03 +0000 (18:04 +0100)
committerLee Jones <lee@kernel.org>
Fri, 14 Mar 2025 08:59:06 +0000 (08:59 +0000)
commit860e98066f5ef2b87a5df7b575a85a4d57adb5e1
tree14b60f619eac0dcc5726e9a59f97f7751d4b3451
parent417206a22669a0adeeaeedab2c8364fd021e3533
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 <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20250212170403.36619-2-u.kleine-koenig@baylibre.com
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/lp3943.h