media: vidtv: print message when driver is removed
authorDaniel W. S. Almeida <dwlsalmeida@gmail.com>
Wed, 6 Jan 2021 03:04:49 +0000 (04:04 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 11:29:37 +0000 (12:29 +0100)
Print a message when the driver is removed so that we get some
visual confirmation when unbinding vidtv.

Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/test-drivers/vidtv/vidtv_bridge.c

index 4ec6a2b..6ab17a8 100644 (file)
@@ -555,6 +555,7 @@ static int vidtv_bridge_remove(struct platform_device *pdev)
        dvb_dmxdev_release(&dvb->dmx_dev);
        dvb_dmx_release(&dvb->demux);
        dvb_unregister_adapter(&dvb->adapter);
+       dev_info(&pdev->dev, "Successfully removed vidtv\n");
 
        return 0;
 }