media: vpe: Convert to platform remove callback returning voidThe .remove() callback for a platform driver returns an int which makesmany driver authors wrongly assume it's possible to do error ha
media: vpe: Convert to platform remove callback returning voidThe .remove() callback for a platform driver returns an int which makesmany driver authors wrongly assume it's possible to do error handling byreturning an error code. However the value returned is (mostly) ignoredand this typically results in resource leaks. To improve here there is aquest to make the remove callback return void. In the first step of thisquest all drivers are converted to .remove_new() which already returnsvoid.Trivially convert this driver from always returning zero in the removecallback to the void returning variant.Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
show more ...
media: platform: re-structure TI driversThe ti-vpe/ sub-directory does not only contain the VPE-specific things.It also contains the CAL driver, which is a completely differentsubsystem. This is
media: platform: re-structure TI driversThe ti-vpe/ sub-directory does not only contain the VPE-specific things.It also contains the CAL driver, which is a completely differentsubsystem. This is also not a good place to add new drivers for other TIplatforms since they will all get mixed up.Separate the VPE and CAL parts into different sub-directories and renamethe ti-vpe/ sub-directory to ti/. This is now the place where new TIplatform drivers can be added.[mchehab: rebased to apple on the top of media/platform/Kconfig series]Signed-off-by: Pratyush Yadav <p.yadav@ti.com>Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>