aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-26 00:25:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-26 00:25:02 -0500
commit8f5f90a872c38b4e78f3cc95e8a25434b98e4db2 (patch)
tree36c50b0c97286ab89c85016f7ab281f8e843c05c /drivers/media/radio
parentc0cd2da16b431a2007ea83865f3dd1530c1643a5 (diff)
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
Merge 3.8-rc5 into staging-next
This resolves a merge issue with a iio driver, and the zram code. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r--drivers/media/radio/radio-maxiradio.c7
-rw-r--r--drivers/media/radio/radio-sf16fmi.c2
-rw-r--r--drivers/media/radio/radio-sf16fmr2.c19
-rw-r--r--drivers/media/radio/radio-tea5764.c8
-rw-r--r--drivers/media/radio/radio-timb.c6
-rw-r--r--drivers/media/radio/radio-wl1273.c4
-rw-r--r--drivers/media/radio/saa7706h.c8
-rw-r--r--drivers/media/radio/si470x/radio-si470x-i2c.c8
-rw-r--r--drivers/media/radio/tef6862.c8
9 files changed, 35 insertions, 35 deletions
diff --git a/drivers/media/radio/radio-maxiradio.c b/drivers/media/radio/radio-maxiradio.c
index b415211d0c4b..bd4d3a7cdadd 100644
--- a/drivers/media/radio/radio-maxiradio.c
+++ b/drivers/media/radio/radio-maxiradio.c
@@ -114,7 +114,8 @@ static struct snd_tea575x_ops maxiradio_tea_ops = {
114 .set_direction = maxiradio_tea575x_set_direction, 114 .set_direction = maxiradio_tea575x_set_direction,
115}; 115};
116 116
117static int __devinit maxiradio_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 117static int maxiradio_probe(struct pci_dev *pdev,
118 const struct pci_device_id *ent)
118{ 119{
119 struct maxiradio *dev; 120 struct maxiradio *dev;
120 struct v4l2_device *v4l2_dev; 121 struct v4l2_device *v4l2_dev;
@@ -172,7 +173,7 @@ errfr:
172 return retval; 173 return retval;
173} 174}
174 175
175static void __devexit maxiradio_remove(struct pci_dev *pdev) 176static void maxiradio_remove(struct pci_dev *pdev)
176{ 177{
177 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); 178 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev);
178 struct maxiradio *dev = to_maxiradio(v4l2_dev); 179 struct maxiradio *dev = to_maxiradio(v4l2_dev);
@@ -196,7 +197,7 @@ static struct pci_driver maxiradio_driver = {
196 .name = "radio-maxiradio", 197 .name = "radio-maxiradio",
197 .id_table = maxiradio_pci_tbl, 198 .id_table = maxiradio_pci_tbl,
198 .probe = maxiradio_probe, 199 .probe = maxiradio_probe,
199 .remove = __devexit_p(maxiradio_remove), 200 .remove = maxiradio_remove,
200}; 201};
201 202
202static int __init maxiradio_init(void) 203static int __init maxiradio_init(void)
diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers/media/radio/radio-sf16fmi.c
index c260a2a354b1..637a55564958 100644
--- a/drivers/media/radio/radio-sf16fmi.c
+++ b/drivers/media/radio/radio-sf16fmi.c
@@ -265,7 +265,7 @@ static const struct v4l2_ioctl_ops fmi_ioctl_ops = {
265}; 265};
266 266
267/* ladis: this is my card. does any other types exist? */ 267/* ladis: this is my card. does any other types exist? */
268static struct isapnp_device_id id_table[] __devinitdata = { 268static struct isapnp_device_id id_table[] = {
269 /* SF16-FMI */ 269 /* SF16-FMI */
270 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, 270 { ISAPNP_ANY_ID, ISAPNP_ANY_ID,
271 ISAPNP_VENDOR('M','F','R'), ISAPNP_FUNCTION(0xad10), 0}, 271 ISAPNP_VENDOR('M','F','R'), ISAPNP_FUNCTION(0xad10), 0},
diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c
index 4efcbec74c52..9c0990457a7c 100644
--- a/drivers/media/radio/radio-sf16fmr2.c
+++ b/drivers/media/radio/radio-sf16fmr2.c
@@ -197,13 +197,13 @@ static int fmr2_tea_ext_init(struct snd_tea575x *tea)
197 return 0; 197 return 0;
198} 198}
199 199
200static struct pnp_device_id fmr2_pnp_ids[] __devinitdata = { 200static struct pnp_device_id fmr2_pnp_ids[] = {
201 { .id = "MFRad13" }, /* tuner subdevice of SF16-FMD2 */ 201 { .id = "MFRad13" }, /* tuner subdevice of SF16-FMD2 */
202 { .id = "" } 202 { .id = "" }
203}; 203};
204MODULE_DEVICE_TABLE(pnp, fmr2_pnp_ids); 204MODULE_DEVICE_TABLE(pnp, fmr2_pnp_ids);
205 205
206static int __devinit fmr2_probe(struct fmr2 *fmr2, struct device *pdev, int io) 206static int fmr2_probe(struct fmr2 *fmr2, struct device *pdev, int io)
207{ 207{
208 int err, i; 208 int err, i;
209 char *card_name = fmr2->is_fmd2 ? "SF16-FMD2" : "SF16-FMR2"; 209 char *card_name = fmr2->is_fmd2 ? "SF16-FMD2" : "SF16-FMR2";
@@ -249,7 +249,7 @@ static int __devinit fmr2_probe(struct fmr2 *fmr2, struct device *pdev, int io)
249 return 0; 249 return 0;
250} 250}
251 251
252static int __devinit fmr2_isa_match(struct device *pdev, unsigned int ndev) 252static int fmr2_isa_match(struct device *pdev, unsigned int ndev)
253{ 253{
254 struct fmr2 *fmr2 = kzalloc(sizeof(*fmr2), GFP_KERNEL); 254 struct fmr2 *fmr2 = kzalloc(sizeof(*fmr2), GFP_KERNEL);
255 if (!fmr2) 255 if (!fmr2)
@@ -265,8 +265,7 @@ static int __devinit fmr2_isa_match(struct device *pdev, unsigned int ndev)
265 return 1; 265 return 1;
266} 266}
267 267
268static int __devinit fmr2_pnp_probe(struct pnp_dev *pdev, 268static int fmr2_pnp_probe(struct pnp_dev *pdev, const struct pnp_device_id *id)
269 const struct pnp_device_id *id)
270{ 269{
271 int ret; 270 int ret;
272 struct fmr2 *fmr2 = kzalloc(sizeof(*fmr2), GFP_KERNEL); 271 struct fmr2 *fmr2 = kzalloc(sizeof(*fmr2), GFP_KERNEL);
@@ -285,7 +284,7 @@ static int __devinit fmr2_pnp_probe(struct pnp_dev *pdev,
285 return 0; 284 return 0;
286} 285}
287 286
288static void __devexit fmr2_remove(struct fmr2 *fmr2) 287static void fmr2_remove(struct fmr2 *fmr2)
289{ 288{
290 snd_tea575x_exit(&fmr2->tea); 289 snd_tea575x_exit(&fmr2->tea);
291 release_region(fmr2->io, 2); 290 release_region(fmr2->io, 2);
@@ -293,7 +292,7 @@ static void __devexit fmr2_remove(struct fmr2 *fmr2)
293 kfree(fmr2); 292 kfree(fmr2);
294} 293}
295 294
296static int __devexit fmr2_isa_remove(struct device *pdev, unsigned int ndev) 295static int fmr2_isa_remove(struct device *pdev, unsigned int ndev)
297{ 296{
298 fmr2_remove(dev_get_drvdata(pdev)); 297 fmr2_remove(dev_get_drvdata(pdev));
299 dev_set_drvdata(pdev, NULL); 298 dev_set_drvdata(pdev, NULL);
@@ -301,7 +300,7 @@ static int __devexit fmr2_isa_remove(struct device *pdev, unsigned int ndev)
301 return 0; 300 return 0;
302} 301}
303 302
304static void __devexit fmr2_pnp_remove(struct pnp_dev *pdev) 303static void fmr2_pnp_remove(struct pnp_dev *pdev)
305{ 304{
306 fmr2_remove(pnp_get_drvdata(pdev)); 305 fmr2_remove(pnp_get_drvdata(pdev));
307 pnp_set_drvdata(pdev, NULL); 306 pnp_set_drvdata(pdev, NULL);
@@ -309,7 +308,7 @@ static void __devexit fmr2_pnp_remove(struct pnp_dev *pdev)
309 308
310struct isa_driver fmr2_isa_driver = { 309struct isa_driver fmr2_isa_driver = {
311 .match = fmr2_isa_match, 310 .match = fmr2_isa_match,
312 .remove = __devexit_p(fmr2_isa_remove), 311 .remove = fmr2_isa_remove,
313 .driver = { 312 .driver = {
314 .name = "radio-sf16fmr2", 313 .name = "radio-sf16fmr2",
315 }, 314 },
@@ -319,7 +318,7 @@ struct pnp_driver fmr2_pnp_driver = {
319 .name = "radio-sf16fmr2", 318 .name = "radio-sf16fmr2",
320 .id_table = fmr2_pnp_ids, 319 .id_table = fmr2_pnp_ids,
321 .probe = fmr2_pnp_probe, 320 .probe = fmr2_pnp_probe,
322 .remove = __devexit_p(fmr2_pnp_remove), 321 .remove = fmr2_pnp_remove,
323}; 322};
324 323
325static int __init fmr2_init(void) 324static int __init fmr2_init(void)
diff --git a/drivers/media/radio/radio-tea5764.c b/drivers/media/radio/radio-tea5764.c
index 36aec575e0ec..1978516af67e 100644
--- a/drivers/media/radio/radio-tea5764.c
+++ b/drivers/media/radio/radio-tea5764.c
@@ -493,8 +493,8 @@ static struct video_device tea5764_radio_template = {
493}; 493};
494 494
495/* I2C probe: check if the device exists and register with v4l if it is */ 495/* I2C probe: check if the device exists and register with v4l if it is */
496static int __devinit tea5764_i2c_probe(struct i2c_client *client, 496static int tea5764_i2c_probe(struct i2c_client *client,
497 const struct i2c_device_id *id) 497 const struct i2c_device_id *id)
498{ 498{
499 struct tea5764_device *radio; 499 struct tea5764_device *radio;
500 struct tea5764_regs *r; 500 struct tea5764_regs *r;
@@ -552,7 +552,7 @@ errfr:
552 return ret; 552 return ret;
553} 553}
554 554
555static int __devexit tea5764_i2c_remove(struct i2c_client *client) 555static int tea5764_i2c_remove(struct i2c_client *client)
556{ 556{
557 struct tea5764_device *radio = i2c_get_clientdata(client); 557 struct tea5764_device *radio = i2c_get_clientdata(client);
558 558
@@ -578,7 +578,7 @@ static struct i2c_driver tea5764_i2c_driver = {
578 .owner = THIS_MODULE, 578 .owner = THIS_MODULE,
579 }, 579 },
580 .probe = tea5764_i2c_probe, 580 .probe = tea5764_i2c_probe,
581 .remove = __devexit_p(tea5764_i2c_remove), 581 .remove = tea5764_i2c_remove,
582 .id_table = tea5764_id, 582 .id_table = tea5764_id,
583}; 583};
584 584
diff --git a/drivers/media/radio/radio-timb.c b/drivers/media/radio/radio-timb.c
index 5cf07779f4bb..b87effeb5dc6 100644
--- a/drivers/media/radio/radio-timb.c
+++ b/drivers/media/radio/radio-timb.c
@@ -145,7 +145,7 @@ static const struct v4l2_file_operations timbradio_fops = {
145 .unlocked_ioctl = video_ioctl2, 145 .unlocked_ioctl = video_ioctl2,
146}; 146};
147 147
148static int __devinit timbradio_probe(struct platform_device *pdev) 148static int timbradio_probe(struct platform_device *pdev)
149{ 149{
150 struct timb_radio_platform_data *pdata = pdev->dev.platform_data; 150 struct timb_radio_platform_data *pdata = pdev->dev.platform_data;
151 struct timbradio *tr; 151 struct timbradio *tr;
@@ -201,7 +201,7 @@ err:
201 return err; 201 return err;
202} 202}
203 203
204static int __devexit timbradio_remove(struct platform_device *pdev) 204static int timbradio_remove(struct platform_device *pdev)
205{ 205{
206 struct timbradio *tr = platform_get_drvdata(pdev); 206 struct timbradio *tr = platform_get_drvdata(pdev);
207 207
@@ -219,7 +219,7 @@ static struct platform_driver timbradio_platform_driver = {
219 .owner = THIS_MODULE, 219 .owner = THIS_MODULE,
220 }, 220 },
221 .probe = timbradio_probe, 221 .probe = timbradio_probe,
222 .remove = __devexit_p(timbradio_remove), 222 .remove = timbradio_remove,
223}; 223};
224 224
225module_platform_driver(timbradio_platform_driver); 225module_platform_driver(timbradio_platform_driver);
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c
index 9b0c9fa0beb8..c48be195bbad 100644
--- a/drivers/media/radio/radio-wl1273.c
+++ b/drivers/media/radio/radio-wl1273.c
@@ -1990,7 +1990,7 @@ static int wl1273_fm_radio_remove(struct platform_device *pdev)
1990 return 0; 1990 return 0;
1991} 1991}
1992 1992
1993static int __devinit wl1273_fm_radio_probe(struct platform_device *pdev) 1993static int wl1273_fm_radio_probe(struct platform_device *pdev)
1994{ 1994{
1995 struct wl1273_core **core = pdev->dev.platform_data; 1995 struct wl1273_core **core = pdev->dev.platform_data;
1996 struct wl1273_device *radio; 1996 struct wl1273_device *radio;
@@ -2145,7 +2145,7 @@ pdata_err:
2145 2145
2146static struct platform_driver wl1273_fm_radio_driver = { 2146static struct platform_driver wl1273_fm_radio_driver = {
2147 .probe = wl1273_fm_radio_probe, 2147 .probe = wl1273_fm_radio_probe,
2148 .remove = __devexit_p(wl1273_fm_radio_remove), 2148 .remove = wl1273_fm_radio_remove,
2149 .driver = { 2149 .driver = {
2150 .name = "wl1273_fm_radio", 2150 .name = "wl1273_fm_radio",
2151 .owner = THIS_MODULE, 2151 .owner = THIS_MODULE,
diff --git a/drivers/media/radio/saa7706h.c b/drivers/media/radio/saa7706h.c
index 54db36ccb9ee..06c06cc9ff25 100644
--- a/drivers/media/radio/saa7706h.c
+++ b/drivers/media/radio/saa7706h.c
@@ -373,8 +373,8 @@ static const struct v4l2_subdev_ops saa7706h_ops = {
373 * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1' 373 * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1'
374 */ 374 */
375 375
376static int __devinit saa7706h_probe(struct i2c_client *client, 376static int saa7706h_probe(struct i2c_client *client,
377 const struct i2c_device_id *id) 377 const struct i2c_device_id *id)
378{ 378{
379 struct saa7706h_state *state; 379 struct saa7706h_state *state;
380 struct v4l2_subdev *sd; 380 struct v4l2_subdev *sd;
@@ -418,7 +418,7 @@ err:
418 return err; 418 return err;
419} 419}
420 420
421static int __devexit saa7706h_remove(struct i2c_client *client) 421static int saa7706h_remove(struct i2c_client *client)
422{ 422{
423 struct v4l2_subdev *sd = i2c_get_clientdata(client); 423 struct v4l2_subdev *sd = i2c_get_clientdata(client);
424 424
@@ -441,7 +441,7 @@ static struct i2c_driver saa7706h_driver = {
441 .name = DRIVER_NAME, 441 .name = DRIVER_NAME,
442 }, 442 },
443 .probe = saa7706h_probe, 443 .probe = saa7706h_probe,
444 .remove = __devexit_p(saa7706h_remove), 444 .remove = saa7706h_remove,
445 .id_table = saa7706h_id, 445 .id_table = saa7706h_id,
446}; 446};
447 447
diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c
index 4ef55ec8045e..e5fc9acd0c4f 100644
--- a/drivers/media/radio/si470x/radio-si470x-i2c.c
+++ b/drivers/media/radio/si470x/radio-si470x-i2c.c
@@ -347,8 +347,8 @@ end:
347/* 347/*
348 * si470x_i2c_probe - probe for the device 348 * si470x_i2c_probe - probe for the device
349 */ 349 */
350static int __devinit si470x_i2c_probe(struct i2c_client *client, 350static int si470x_i2c_probe(struct i2c_client *client,
351 const struct i2c_device_id *id) 351 const struct i2c_device_id *id)
352{ 352{
353 struct si470x_device *radio; 353 struct si470x_device *radio;
354 int retval = 0; 354 int retval = 0;
@@ -451,7 +451,7 @@ err_initial:
451/* 451/*
452 * si470x_i2c_remove - remove the device 452 * si470x_i2c_remove - remove the device
453 */ 453 */
454static __devexit int si470x_i2c_remove(struct i2c_client *client) 454static int si470x_i2c_remove(struct i2c_client *client)
455{ 455{
456 struct si470x_device *radio = i2c_get_clientdata(client); 456 struct si470x_device *radio = i2c_get_clientdata(client);
457 457
@@ -514,7 +514,7 @@ static struct i2c_driver si470x_i2c_driver = {
514#endif 514#endif
515 }, 515 },
516 .probe = si470x_i2c_probe, 516 .probe = si470x_i2c_probe,
517 .remove = __devexit_p(si470x_i2c_remove), 517 .remove = si470x_i2c_remove,
518 .id_table = si470x_i2c_id, 518 .id_table = si470x_i2c_id,
519}; 519};
520 520
diff --git a/drivers/media/radio/tef6862.c b/drivers/media/radio/tef6862.c
index 06d47e5cce9f..b18c2dc268ba 100644
--- a/drivers/media/radio/tef6862.c
+++ b/drivers/media/radio/tef6862.c
@@ -165,8 +165,8 @@ static const struct v4l2_subdev_ops tef6862_ops = {
165 * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1' 165 * concerning the addresses: i2c wants 7 bit (without the r/w bit), so '>>1'
166 */ 166 */
167 167
168static int __devinit tef6862_probe(struct i2c_client *client, 168static int tef6862_probe(struct i2c_client *client,
169 const struct i2c_device_id *id) 169 const struct i2c_device_id *id)
170{ 170{
171 struct tef6862_state *state; 171 struct tef6862_state *state;
172 struct v4l2_subdev *sd; 172 struct v4l2_subdev *sd;
@@ -189,7 +189,7 @@ static int __devinit tef6862_probe(struct i2c_client *client,
189 return 0; 189 return 0;
190} 190}
191 191
192static int __devexit tef6862_remove(struct i2c_client *client) 192static int tef6862_remove(struct i2c_client *client)
193{ 193{
194 struct v4l2_subdev *sd = i2c_get_clientdata(client); 194 struct v4l2_subdev *sd = i2c_get_clientdata(client);
195 195
@@ -211,7 +211,7 @@ static struct i2c_driver tef6862_driver = {
211 .name = DRIVER_NAME, 211 .name = DRIVER_NAME,
212 }, 212 },
213 .probe = tef6862_probe, 213 .probe = tef6862_probe,
214 .remove = __devexit_p(tef6862_remove), 214 .remove = tef6862_remove,
215 .id_table = tef6862_id, 215 .id_table = tef6862_id,
216}; 216};
217 217