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 | d9b1fe651606c8da040adca6edf37b853dfd9514 (patch) | |
tree | cea530713f89dc6bafb128b8d84ec751e2a139fa /fs/afs/cell.c | |
parent | 31ff6b2a42979bb223def9609093ff1d8dcfb67e (diff) | |
download | linux-stable-d9b1fe651606c8da040adca6edf37b853dfd9514.tar.gz linux-stable-d9b1fe651606c8da040adca6edf37b853dfd9514.tar.bz2 linux-stable-d9b1fe651606c8da040adca6edf37b853dfd9514.zip |
sm501fb: deallocate colormap only if allocated
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 deallocate the colormap only if that particular fb is defined.
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'fs/afs/cell.c')
0 files changed, 0 insertions, 0 deletions