video/ssd1307fb: drop unneeded regulator NULL checks
regulator_{enable,disable} are already no-ops when the parameter is
NULL. Drop the NULL checks thusly.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 09d11c5 commit c195d0aefed81af18186eaa208fd5602ab2d76ba
@Ahmad Fatoum Ahmad Fatoum authored on 2 Mar 2020
Sascha Hauer committed on 9 Mar 2020
Showing 1 changed file
View
drivers/video/ssd1307fb.c