Searched hist:"6 b244bbf0ddfcb5539bcf4e60d8799c926b0108d" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | sunxi_nand.c | 6b244bbf0ddfcb5539bcf4e60d8799c926b0108d Wed Mar 15 11:31:47 UTC 2017 Philipp Zabel <p.zabel@pengutronix.de> mtd: nand: sunxi: simplify optional reset handling
As of commit bb475230b8e5 ("reset: make optional functions really optional"), the reset framework API calls use NULL pointers to describe optional, non-present reset controls.
This allows to return errors from devm_reset_control_get_optional and to call reset_control_(de)assert unconditionally.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
|