Re: [PATCH] leds: lm3530: Ensure drvdata->enable has correct status if regulator_disable fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 3, 2013 at 10:13 PM, Kim, Milo <Milo.Kim@xxxxxx> wrote:
>> -----Original Message-----
>> From: Axel Lin [mailto:axel.lin@xxxxxxxxxx]
>> Sent: Thursday, December 20, 2012 10:00 AM
>> To: Bryan Wu
>> Cc: Shreshtha Kumar Sahu; Kim, Milo; Richard Purdie; linux-
>> leds@xxxxxxxxxxxxxxx
>> Subject: [PATCH] leds: lm3530: Ensure drvdata->enable has correct
>> status if regulator_disable fails
>>
>> Add lm3530_led_enable() and lm3530_led_disable() helper functions.
>> This ensures setting drvdata->enable to correct status if
>> regulator_disable
>> fails.
>
> Acked-by: Milo Kim <milo.kim@xxxxxx>
> Tested-by: Milo Kim <milo.kim@xxxxxx>
>

OK, cool, make sense. Thanks. I will merge Axel's patch soon.

-Bryan
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux