diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:17:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:02 -0500 |
commit | 4c62e9764ab403d42f9b8871b1241fe7812f19d4 (patch) | |
tree | b4ae1ce3993ebf1d64660ba16362f9ef3de73074 /drivers/media/platform/coda.c | |
parent | c571b211a70bcb04249be5cb7338f95d2ec8100f (diff) |
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>
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r-- | drivers/media/platform/coda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index 7b8b547f2d51..1cf8293c0fb0 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c | |||
@@ -1891,7 +1891,7 @@ static const struct of_device_id coda_dt_ids[] = { | |||
1891 | MODULE_DEVICE_TABLE(of, coda_dt_ids); | 1891 | MODULE_DEVICE_TABLE(of, coda_dt_ids); |
1892 | #endif | 1892 | #endif |
1893 | 1893 | ||
1894 | static int __devinit coda_probe(struct platform_device *pdev) | 1894 | static int coda_probe(struct platform_device *pdev) |
1895 | { | 1895 | { |
1896 | const struct of_device_id *of_id = | 1896 | const struct of_device_id *of_id = |
1897 | of_match_device(of_match_ptr(coda_dt_ids), &pdev->dev); | 1897 | of_match_device(of_match_ptr(coda_dt_ids), &pdev->dev); |
@@ -2033,7 +2033,7 @@ static int coda_remove(struct platform_device *pdev) | |||
2033 | 2033 | ||
2034 | static struct platform_driver coda_driver = { | 2034 | static struct platform_driver coda_driver = { |
2035 | .probe = coda_probe, | 2035 | .probe = coda_probe, |
2036 | .remove = __devexit_p(coda_remove), | 2036 | .remove = coda_remove, |
2037 | .driver = { | 2037 | .driver = { |
2038 | .name = CODA_NAME, | 2038 | .name = CODA_NAME, |
2039 | .owner = THIS_MODULE, | 2039 | .owner = THIS_MODULE, |