kernel_samsung_a53x/drivers/leds/trigger
Heiner Kallweit 4835d0b620 leds: trigger: panic: Don't register panic notifier if creating the trigger failed
[ Upstream commit afacb21834bb02785ddb0c3ec197208803b74faa ]

It doesn't make sense to register the panic notifier if creating the
panic trigger failed.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/8a61e229-5388-46c7-919a-4d18cc7362b2@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:13:19 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-activity.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-audio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-backlight.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-camera.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-cpu.c leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu' 2024-11-18 11:43:05 +01:00
ledtrig-default-on.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-disk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-gpio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-heartbeat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-mtd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-netdev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-oneshot.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-panic.c leds: trigger: panic: Don't register panic notifier if creating the trigger failed 2024-11-18 12:13:19 +01:00
ledtrig-pattern.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-timer.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ledtrig-transient.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00