mci: stm32_sdmmc2: don't ignore reset_control_get errors
reset_control_get returns a NULL pointer when no resets were specified
via device tree properties. If there's a malformed "resets"-property, we
get an error pointer. This error should be propagated, only the NULL
returns are the ones we can safely ignore.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ea958fa commit f59bd53e9d61df69d0a73bf389359c7fa58f0834
@Ahmad Fatoum Ahmad Fatoum authored on 10 Feb 2020
Sascha Hauer committed on 12 Feb 2020
Showing 1 changed file
View
drivers/mci/stm32_sdmmc2.c