Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: mach-ecovec24: Add i2c_put_adapter on sh_eth_init

i2c_put_adapter is needed after i2c_get_adapter

Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

authored by

Kuninori Morimoto and committed by
Paul Mundt
b230eb32 ae6be51e

+2
+2
arch/sh/boards/mach-ecovec24/setup.c
··· 836 836 pd->mac_addr[i] = mac_read(a, 0x10 + i); 837 837 msleep(10); 838 838 } 839 + 840 + i2c_put_adapter(a); 839 841 } 840 842 #else 841 843 static void __init sh_eth_init(struct sh_eth_plat_data *pd)