diff options
author | Jiasheng Jiang <[email protected]> | 2022-03-04 09:57:51 +0800 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2022-03-04 22:20:32 +0100 |
commit | b0b14b5ba11bec56fad344a4a0b2e16449cc8b94 (patch) | |
tree | 48b12727405174430324301f849c66d72205a97e /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | c8aee3f41cb84a9ac3b6b5ba2e92cda6cf50d0a0 (diff) |
power: supply: wm8350-power: Handle error for wm8350_register_irq
As the potential failure of the wm8350_register_irq(),
it should be better to check it and return error if fails.
Also, use 'free_' in order to avoid same code.
Fixes: 14431aa0c5a4 ("power_supply: Add support for WM8350 PMU")
Signed-off-by: Jiasheng Jiang <[email protected]>
Acked-by: Charles Keepax <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions