
24 Apr
2019
24 Apr
'19
3:23 p.m.
On Fri, Mar 15, 2019 at 03:14:31PM +0100, Philippe Reynes wrote:
From: Marc Gonzalez marc_gonzalez@sigmadesigns.com
Linux commit d45bc58dd3b ("mtd: nand: import nand_hw_control_init()")
The code to initialize a struct nand_hw_control is duplicated across several drivers. Factorize it using an inline function.
Signed-off-by: Marc Gonzalez marc_gonzalez@sigmadesigns.com Signed-off-by: Boris Brezillon boris.brezillon@free-electrons.com [Philippe Reynes: adapt code to u-boot and only keep new function]
Signed-off-by: Philippe Reynes philippe.reynes@softathome.com
Applied to u-boot/master, thanks!
--
Tom