]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pwm: Make use of a symbol namespace for the core
authorUwe Kleine-König <ukleinek@baylibre.com>
Fri, 7 Jun 2024 16:00:13 +0000 (18:00 +0200)
committerUwe Kleine-König <ukleinek@kernel.org>
Wed, 10 Jul 2024 15:52:47 +0000 (17:52 +0200)
commit33c651a3fba9a3d380cb0e35ea207e048d39bed9
tree6e369e9b41027f5eb5510183641393e10519e774
parent2c69747c10d1203073aa4f74d1d09db1b4a89252
pwm: Make use of a symbol namespace for the core

Define all pwm core's symbols in the namespace "PWM". The necessary
module import statement is just added to the main header, this way every
file that knows about the public functions automatically has this
namespace available.

Thanks to Biju Das for pointing out a cut'n'paste failure in my initial
patch.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20240607160012.1206874-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
drivers/pwm/core.c
include/linux/pwm.h