mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
leds: qti-flash: Update interrupt names
Update interrupt names to have "flash" prefix so that all the interrupts for flash LED can be monitored easily. Change-Id: Ib7c17ea48110461823702c8d11b7554ddebbbb26 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
parent
41c8b9e2f3
commit
f0d6115e00
1 changed files with 3 additions and 3 deletions
|
|
@ -677,7 +677,7 @@ static int qti_flash_led_register_interrupts(struct qti_flash_led *led)
|
|||
|
||||
rc = devm_request_threaded_irq(&led->pdev->dev,
|
||||
led->all_ramp_up_done_irq, NULL, qti_flash_led_irq_handler,
|
||||
IRQF_ONESHOT, "all_ramp_up_done", led);
|
||||
IRQF_ONESHOT, "flash_all_ramp_up", led);
|
||||
if (rc < 0) {
|
||||
pr_err("Failed to request all_ramp_up_done(%d) IRQ(err:%d)\n",
|
||||
led->all_ramp_up_done_irq, rc);
|
||||
|
|
@ -686,7 +686,7 @@ static int qti_flash_led_register_interrupts(struct qti_flash_led *led)
|
|||
|
||||
rc = devm_request_threaded_irq(&led->pdev->dev,
|
||||
led->all_ramp_down_done_irq, NULL, qti_flash_led_irq_handler,
|
||||
IRQF_ONESHOT, "all_ramp_down", led);
|
||||
IRQF_ONESHOT, "flash_all_ramp_down", led);
|
||||
if (rc < 0) {
|
||||
pr_err("Failed to request all_ramp_down_done(%d) IRQ(err:%d)\n",
|
||||
led->all_ramp_down_done_irq,
|
||||
|
|
@ -696,7 +696,7 @@ static int qti_flash_led_register_interrupts(struct qti_flash_led *led)
|
|||
|
||||
rc = devm_request_threaded_irq(&led->pdev->dev,
|
||||
led->led_fault_irq, NULL, qti_flash_led_irq_handler,
|
||||
IRQF_ONESHOT, "fault", led);
|
||||
IRQF_ONESHOT, "flash_fault", led);
|
||||
if (rc < 0) {
|
||||
pr_err("Failed to request led_fault(%d) IRQ(err:%d)\n",
|
||||
led->led_fault_irq, rc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue