Re: [PATCH] mtd: rawnand: ingenic: remove redundant get_device() in ingenic_ecc_get()

2020-11-19 Thread Miquel Raynal
On Sat, 2020-10-31 at 10:54:39 UTC, Yu Kuai wrote: > of_find_device_by_node() already takes a reference to the device, and > ingenic_ecc_release() will drop the reference. So, the get_device() in > ingenic_ecc_get() is redundand. > > Fixes: 15de8c6efd0e("mtd: rawnand: ingenic: Separate top-level

Re: [PATCH] mtd: rawnand: ingenic: remove redundant get_device() in ingenic_ecc_get()

2020-11-10 Thread Paul Cercueil
Hi, Le sam. 31 oct. 2020 à 18:54, Yu Kuai a écrit : of_find_device_by_node() already takes a reference to the device, and ingenic_ecc_release() will drop the reference. So, the get_device() in ingenic_ecc_get() is redundand. Fixes: 15de8c6efd0e("mtd: rawnand: ingenic: Separate top-level and

Re: [PATCH] mtd: rawnand: ingenic: remove redundant get_device() in ingenic_ecc_get()

2020-11-09 Thread yukuai (C)
ping.. On 2020/10/31 18:54, Yu Kuai wrote: of_find_device_by_node() already takes a reference to the device, and ingenic_ecc_release() will drop the reference. So, the get_device() in ingenic_ecc_get() is redundand. Fixes: 15de8c6efd0e("mtd: rawnand: ingenic: Separate top-level and SoC

[PATCH] mtd: rawnand: ingenic: remove redundant get_device() in ingenic_ecc_get()

2020-10-31 Thread Yu Kuai
of_find_device_by_node() already takes a reference to the device, and ingenic_ecc_release() will drop the reference. So, the get_device() in ingenic_ecc_get() is redundand. Fixes: 15de8c6efd0e("mtd: rawnand: ingenic: Separate top-level and SoC specific code") Signed-off-by: Yu Kuai ---