summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-03-20 11:25:16 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-03-21 18:19:43 +0100
commit0ca10b60ceeb5372da01798ca68c116ae45a6eb6 (patch)
treef287a4b83d49fffc1a7adcf50a941bf37907c776 /drivers/reset
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
downloadlinux-0ca10b60ceeb5372da01798ca68c116ae45a6eb6.tar.gz
linux-0ca10b60ceeb5372da01798ca68c116ae45a6eb6.tar.bz2
linux-0ca10b60ceeb5372da01798ca68c116ae45a6eb6.zip
reset: fix optional reset_control_get stubs to return NULL
When RESET_CONTROLLER is not enabled, the optional reset_control_get stubs should now also return NULL. Since it is now valid for reset_control_assert/deassert/reset/status/put to be called unconditionally, with NULL as an argument for optional resets, the stubs are not allowed to warn anymore. Fixes: bb475230b8e5 ("reset: make optional functions really optional") Reported-by: Andrzej Hajda <a.hajda@samsung.com> Tested-by: Andrzej Hajda <a.hajda@samsung.com> Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> Cc: Ramiro Oliveira <Ramiro.Oliveira@synopsys.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions