Re: [PATCH 2/3] sm501fb: unregister framebuffer only if registered

2017-11-09 Thread Bartlomiej Zolnierkiewicz
On Saturday, November 04, 2017 09:24:20 PM Sudip Mukherjee wrote: > 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

[PATCH 2/3] sm501fb: unregister framebuffer only if registered

2017-11-04 Thread Sudip Mukherjee
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 --- drivers/video/fbdev/sm501fb.c | 6 -- 1 file changed, 4