media: staging: atomisp: Switch i2c drivers to use ->probe_new()
[linux-2.6-microblaze.git] / drivers / staging / media / atomisp / i2c / gc0310.h
index 7d8a0ae..7e97e45 100644 (file)
@@ -36,8 +36,6 @@
 
 #include "../include/linux/atomisp_platform.h"
 
-#define GC0310_NAME            "gc0310"
-
 /* Defines for register writes and register array processing */
 #define I2C_MSG_LENGTH         1
 #define I2C_RETRY_COUNT                5
@@ -196,11 +194,6 @@ struct gc0310_write_ctrl {
        struct gc0310_write_buffer buffer;
 };
 
-static const struct i2c_device_id gc0310_id[] = {
-       {GC0310_NAME, 0},
-       {}
-};
-
 /*
  * Register settings for various resolution
  */