diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2017-11-09 18:09:31 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-11-09 18:09:31 +0100 |
commit | 35bfbf70b2928ce5fbc117a410915eeee457202b (patch) | |
tree | d25204634a204ad33a4dcfff2cae03e50c694586 /lib/mpi/mpiutil.c | |
parent | d9b1fe651606c8da040adca6edf37b853dfd9514 (diff) |
sm501fb: unregister framebuffer only if registered
There are cases when panel and crt both are not defined and only one of
them is defined and initialized. In such cases, while removing the
device, unregister the framebuffer only if it was registered.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions