mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
powerpc/aoa: gpio-pmf.c: 3 * redundant code
Signed-off-by: David Binderman <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
469d62be92
commit
6237cdac5d
1 changed files with 3 additions and 6 deletions
|
|
@ -116,12 +116,9 @@ static void pmf_gpio_exit(struct gpio_runtime *rt)
|
|||
mutex_destroy(&rt->line_in_notify.mutex);
|
||||
mutex_destroy(&rt->line_out_notify.mutex);
|
||||
|
||||
if (rt->headphone_notify.gpio_private)
|
||||
kfree(rt->headphone_notify.gpio_private);
|
||||
if (rt->line_in_notify.gpio_private)
|
||||
kfree(rt->line_in_notify.gpio_private);
|
||||
if (rt->line_out_notify.gpio_private)
|
||||
kfree(rt->line_out_notify.gpio_private);
|
||||
kfree(rt->headphone_notify.gpio_private);
|
||||
kfree(rt->line_in_notify.gpio_private);
|
||||
kfree(rt->line_out_notify.gpio_private);
|
||||
}
|
||||
|
||||
static void pmf_handle_notify_irq(void *data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue