video/ssd1307fb: make reset GPIO optional
Both reset GPIO and regulator are optional as per the binding and the
driver can work without if we ignore their absence. Do so.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c195d0a commit ad86f163a2bab94b1729d73f6888f8452c7477f7
@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