On Fri, Sep 22, 2017 at 10:49:43AM +0530, Arvind Yadav wrote:
> - Free memory region, if gb_lights_channel_config is not successful.
> - No need to add check for gb_lights_channel_flash_config().
These should be separate patches. They're not related.
regards,
dan carpenter
___
- Free memory region, if gb_lights_channel_config is not successful.
- No need to add check for gb_lights_channel_flash_config().
Signed-off-by: Arvind Yadav
---
changes in v2:
- Subject line changed.
- add kfree in __gb_lights_led_unregister().
- No need to