linux/drivers/video/backlight
Sean Young a10c3d5ff9 pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
[ Upstream commit c748a6d77c ]

In order to introduce a pwm api which can be used from atomic context,
we will need two functions for applying pwm changes:

	int pwm_apply_might_sleep(struct pwm *, struct pwm_state *);
	int pwm_apply_atomic(struct pwm *, struct pwm_state *);

This commit just deals with renaming pwm_apply_state(), a following
commit will introduce the pwm_apply_atomic() function.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> # for input
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Stable-dep-of: 974afccd37 ("leds: pwm: Disable PWM when going to suspend")
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-06-12 11:12:24 +02:00
..
88pm860x_bl.c backlight: Use backlight_get_brightness() throughout 2020-07-20 10:27:06 +01:00
aat2870_bl.c backlight: aat2870_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
adp5520_bl.c backlight: adp5520_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
adp8860_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
adp8870_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
ams369fg06.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
apple_bl.c backlight: apple_bl: Use acpi_video_get_backlight_type() 2023-03-16 13:33:11 +01:00
arcxcnn_bl.c backlight: Switch i2c drivers back to use .probe() 2023-05-25 12:25:26 +01:00
as3711_bl.c backlight: as3711: Use of_property_read_bool() for boolean properties 2023-03-16 16:12:53 +00:00
backlight.c fbdev: Split frame buffer support in FB and FB_CORE symbols 2023-07-22 12:25:04 +02:00
bd6107.c drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
corgi_lcd.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
cr_bllcd.c backlight: cr_bllcd: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
da903x_bl.c backlight: Use backlight_get_brightness() throughout 2020-07-20 10:27:06 +01:00
da9052_bl.c backlight: da9052: Fully initialize backlight_properties during probe 2024-03-26 18:19:56 -04:00
ep93xx_bl.c backlight: Use backlight_get_brightness() throughout 2020-07-20 10:27:06 +01:00
gpio_backlight.c - New Functionality 2023-09-06 09:00:37 -07:00
hp680_bl.c backlight: hp680_bl: Convert to platform remove callback returning void 2023-03-16 15:08:35 +00:00
hx8357.c backlight: hx8357: Use of_property_present() for testing DT property presence 2023-03-16 16:12:27 +00:00
ili922x.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
ili9320.c video: backlight: ili9320: Make ili9320_remove() return void 2021-10-20 15:13:59 +01:00
ili9320.h video: backlight: ili9320: Make ili9320_remove() return void 2021-10-20 15:13:59 +01:00
ipaq_micro_bl.c backlight: ipaq_micro: Use backlight helper 2023-02-22 10:55:27 +00:00
jornada720_bl.c backlight: journada720: Fix Wmisleading-indentation warning 2021-03-23 09:42:55 +00:00
jornada720_lcd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 73 2019-05-24 17:36:47 +02:00
kb3886_bl.c backlight: Use backlight_get_brightness() throughout 2020-07-20 10:27:06 +01:00
Kconfig backlight: apple_bl: Use acpi_video_get_backlight_type() 2023-03-16 13:33:11 +01:00
ktd253-backlight.c backlight: ktd253: Switch to use dev_err_probe() helper 2023-02-22 10:54:59 +00:00
ktz8866.c backlight: ktz8866: Correct the check for of_property_read_u32 2024-03-26 18:19:55 -04:00
l4f00242t03.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
lcd.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
led_bl.c backlight: led_bl: Remove redundant of_match_ptr() 2023-08-21 12:16:56 +01:00
lm3533_bl.c backlight: lm3533_bl: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
lm3630a_bl.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2024-06-12 11:12:24 +02:00
lm3639_bl.c backlight: lm3639: Fully initialize backlight_properties during probe 2024-03-26 18:19:56 -04:00
lms283gf05.c backlight: lms283gf05: Convert to GPIO descriptors 2021-01-20 12:47:11 +00:00
lms501kf03.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
locomolcd.c ARM: pxa: remove unused board files 2023-01-20 11:23:44 +01:00
lp855x_bl.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2024-06-12 11:12:24 +02:00
lp8788_bl.c backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-26 18:19:56 -04:00
ltv350qv.c video:backlight: remove reference to AVR32 architecture in ltv350qv 2022-08-03 11:11:26 +02:00
ltv350qv.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
lv5207lp.c drm-misc-next for v6.6: 2023-07-17 15:37:57 +02:00
Makefile backlight: ktz8866: Add support for Kinetic KTZ8866 backlight 2023-02-22 10:55:28 +00:00
max8925_bl.c backlight: Use backlight_get_brightness() throughout 2020-07-20 10:27:06 +01:00
mt6370-backlight.c backlight: mt6370-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:36 +00:00
omap1_bl.c fbdev: omap: avoid using mach/*.h files 2022-04-21 15:01:14 +02:00
otm3225a.c backlight: otm3225a: Add support for ORISE OTM3225A LCD SoC 2018-04-30 10:50:44 +01:00
pandora_bl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pcf50633-backlight.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 151 2019-05-30 11:26:28 -07:00
platform_lcd.c Revert "drivers/video/backlight/platform_lcd.c: add support for device tree based probe" 2022-07-13 09:11:21 +01:00
pwm_bl.c pwm: Rename pwm_apply_state() to pwm_apply_might_sleep() 2024-06-12 11:12:24 +02:00
qcom-wled.c backlight: qcom-wled: Explicitly include correct DT includes 2023-07-28 10:01:28 +01:00
rave-sp-backlight.c backlight: rave-sp: Leave initial state and register with correct device 2019-08-12 09:11:10 +01:00
rt4831-backlight.c backlight: rt4831-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:37 +00:00
sky81452-backlight.c backlight: sky81452-backlight: Convert to platform remove callback returning void 2023-03-16 15:08:37 +00:00
tdo24m.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
tps65217_bl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
vgg2432a4.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
wm831x_bl.c backlight: Use backlight_get_brightness() throughout 2020-07-20 10:27:06 +01:00