]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/media/atomisp/i2c/gc2235.h
media: staging: atomisp: Switch i2c drivers to use ->probe_new()
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / media / atomisp / i2c / gc2235.h
index a8d6aa9c9a5da6ce4ba37444624cab27ff9b39b4..3c30a05c3991eb9d34e52a5d8810164ddca73c61 100644 (file)
@@ -33,8 +33,6 @@
 
 #include "../include/linux/atomisp_platform.h"
 
-#define GC2235_NAME            "gc2235"
-
 /* Defines for register writes and register array processing */
 #define I2C_MSG_LENGTH         0x2
 #define I2C_RETRY_COUNT                5
@@ -200,11 +198,6 @@ struct gc2235_write_ctrl {
        struct gc2235_write_buffer buffer;
 };
 
-static const struct i2c_device_id gc2235_id[] = {
-       {GC2235_NAME, 0},
-       {}
-};
-
 static struct gc2235_reg const gc2235_stream_on[] = {
        { GC2235_8BIT, 0xfe, 0x03}, /* switch to P3 */
        { GC2235_8BIT, 0x10, 0x91}, /* start mipi */