diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-03-02 12:49:54 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-03-09 08:30:46 +0100 |
commit | c195d0aefed81af18186eaa208fd5602ab2d76ba (patch) | |
tree | c138696dc16adde9707971cae4bfa7a82db3ecde /drivers/serial | |
parent | 09d11c546738a00754c9f1a9b726ddd14f5b5b38 (diff) | |
download | barebox-c195d0aefed81af18186eaa208fd5602ab2d76ba.tar.gz barebox-c195d0aefed81af18186eaa208fd5602ab2d76ba.tar.xz |
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>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions