Drivers: media: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
此提交包含在:
@@ -1990,7 +1990,7 @@ error_csiphy:
|
||||
*
|
||||
* Always returns 0.
|
||||
*/
|
||||
static int __devexit isp_remove(struct platform_device *pdev)
|
||||
static int isp_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct isp_device *isp = platform_get_drvdata(pdev);
|
||||
int i;
|
||||
@@ -2071,7 +2071,7 @@ static int isp_map_mem_resource(struct platform_device *pdev,
|
||||
* -EINVAL if couldn't install ISR,
|
||||
* or clk_get return error value.
|
||||
*/
|
||||
static int __devinit isp_probe(struct platform_device *pdev)
|
||||
static int isp_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct isp_platform_data *pdata = pdev->dev.platform_data;
|
||||
struct isp_device *isp;
|
||||
@@ -2250,7 +2250,7 @@ MODULE_DEVICE_TABLE(platform, omap3isp_id_table);
|
||||
|
||||
static struct platform_driver omap3isp_driver = {
|
||||
.probe = isp_probe,
|
||||
.remove = __devexit_p(isp_remove),
|
||||
.remove = isp_remove,
|
||||
.id_table = omap3isp_id_table,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
|
新增問題並參考
封鎖使用者