]> git.baikalelectronics.ru Git - kernel.git/commit
video: ssd1307fb: add the missed regulator_disable
authorChuhong Yuan <hslester96@gmail.com>
Mon, 18 Nov 2019 11:41:50 +0000 (19:41 +0800)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Wed, 15 Jan 2020 16:31:42 +0000 (17:31 +0100)
commita820f5ee992bda0dbd890fbea874cae0e2657c4a
tree91acd6cc92249bff519069f15b318b55b314f54f
parent8d32bbe290246e89af60b15f6900385892be08b7
video: ssd1307fb: add the missed regulator_disable

The driver forgets to disable the regulator in remove like what is done
in probe failure.
Add the missed call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Tested-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191118114150.25724-1-hslester96@gmail.com
drivers/video/fbdev/ssd1307fb.c