android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Uwe Kleine-König 11186875ba ARM: mmp: Fix failure to remove sram device
[ Upstream commit 4036b29a146b2749af3bb213b003eb69f3e5ecc4 ]

Make sure in .probe() to set driver data before the function is left to
make it possible in .remove() to undo the actions done.

This fixes a potential memory leak and stops returning an error code in
.remove() that is ignored by the driver core anyhow.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-15 14:18:25 +02:00
..
alpha
arc
arm ARM: mmp: Fix failure to remove sram device 2022-04-15 14:18:25 +02:00
arm64 bpf, arm64: Feed byte-offset into bpf line info 2022-04-15 14:18:14 +02:00
c6x
csky
h8300
hexagon
ia64 ia64: ensure proper NUMA distance and possible map initialization 2022-03-08 19:07:48 +01:00
m68k
microblaze uaccess: fix nios2 and microblaze get_user_8() 2022-04-15 14:18:08 +02:00
mips MIPS: RB532: fix return value of __setup handler 2022-04-15 14:18:16 +02:00
nds32 nds32: fix access_ok() checks in get/put_user 2022-03-28 08:46:48 +02:00
nios2 uaccess: fix nios2 and microblaze get_user_8() 2022-04-15 14:18:08 +02:00
openrisc
parisc parisc/unaligned: Fix ldw() and stw() unalignment handlers 2022-03-02 11:41:01 +01:00
powerpc powerpc: 8xx: fix a return value error in mpc8xx_pic_init 2022-04-15 14:18:15 +02:00
riscv riscv: Fix fill_callchain return value 2022-04-15 14:18:00 +02:00
s390
sh
sparc
um
unicore32
x86 xen: fix is_xen_pmu() 2022-04-15 14:18:21 +02:00
xtensa xtensa: fix xtensa_wsr always writing 0 2022-04-15 14:18:03 +02:00
.gitignore
Kconfig