[PATCH v3] Staging: media: replace deprecated probe method

2018-10-01 Thread Andrey Abramov
Replaced i2c_driver::probe with i2c_driver::probe_new, because documentation says that probe method is "soon to be deprecated". Signed-off-by: Andrey Abramov --- v3: fix commit message drivers/staging/media/bcm2048/radio-bcm2048.c | 5 ++--- 1 file changed, 2 insert

[PATCH] Staging: media: replaced deprecated probe method

2018-10-01 Thread Andrey Abramov
Replaced i2c_driver::probe with i2c_driver::probe_new, because documentation says that probe method is "soon to be deprecated". And fixed problems of the previous attempt. Signed-off-by: Andrey Abramov --- drivers/staging/media/bcm2048/radio-bcm2048.c | 5 ++--- 1 file

[PATCH] Staging: media: replaced deprecated probe method

2018-09-29 Thread Andrey Abramov
drivers/staging/media/bcm2048/radio-bcm2048.c replaced i2c_driver::probe with i2c_driver::probe_new, because documentation says that i2c_driver::probe "soon to be deprecated" Signed-off-by: Andrey Abramov --- drivers/staging/media/bcm2048/radio-bcm2048.c | 5 ++--- 1 file