diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2020-03-24 14:23:11 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-04-17 15:50:12 +0200 |
commit | 8213fb41874f3e013b67915c4d1802efe05fd496 (patch) | |
tree | c0f92bcf646058042c1f170cf34d7a393cff5d8e /drivers/video/fbdev/arcfb.c | |
parent | ARM/fbdev: sa11x0: Switch to use GPIO descriptors (diff) | |
download | linux-8213fb41874f3e013b67915c4d1802efe05fd496.tar.xz linux-8213fb41874f3e013b67915c4d1802efe05fd496.zip |
fbdev: s1d13xxxfb: add missed unregister_framebuffer in remove
The driver calls register_framebuffer() in probe but does not call
unregister_framebuffer() in remove.
Rename current remove to __s1d13xxxfb_remove() for error handler.
Then add a new remove to call unregister_framebuffer().
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Cc: Kristoffer Ericson <kristoffer.ericson@gmail.com>
[b.zolnierkie: ported over recent s1d13xxxfb changes]
[b.zolnierkie: removed extra newline]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200324132311.21729-1-hslester96@gmail.com
Diffstat (limited to 'drivers/video/fbdev/arcfb.c')
0 files changed, 0 insertions, 0 deletions