aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/flash/leds-rt8515.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/flash/leds-rt8515.c')
-rw-r--r--drivers/leds/flash/leds-rt8515.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/flash/leds-rt8515.c b/drivers/leds/flash/leds-rt8515.c
index 32ba397a33d2..6af0d2c7fc56 100644
--- a/drivers/leds/flash/leds-rt8515.c
+++ b/drivers/leds/flash/leds-rt8515.c
@@ -165,7 +165,7 @@ static const struct led_flash_ops rt8515_flash_ops = {
static void rt8515_powerdown_timer(struct timer_list *t)
{
- struct rt8515 *rt = from_timer(rt, t, powerdown_timer);
+ struct rt8515 *rt = timer_container_of(rt, t, powerdown_timer);
/* Turn the LED off */
rt8515_gpio_led_off(rt);