]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/media/atomisp/i2c/ov5693/ov5693.h
media: staging: atomisp: Switch i2c drivers to use ->probe_new()
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / media / atomisp / i2c / ov5693 / ov5693.h
index 8c2e6794463bc5bd47b476c1093ba9e9cb8a2d8f..b94a72a300d485c097595369123ff0f9cab2e09a 100644 (file)
@@ -35,8 +35,6 @@
 
 #include "../../include/linux/atomisp_platform.h"
 
-#define OV5693_NAME            "ov5693"
-
 #define OV5693_POWER_UP_RETRY_NUM 5
 
 /* Defines for register writes and register array processing */
@@ -278,11 +276,6 @@ struct ov5693_write_ctrl {
        struct ov5693_write_buffer buffer;
 };
 
-static const struct i2c_device_id ov5693_id[] = {
-       {OV5693_NAME, 0},
-       {}
-};
-
 static struct ov5693_reg const ov5693_global_setting[] = {
        {OV5693_8BIT, 0x0103, 0x01},
        {OV5693_8BIT, 0x3001, 0x0a},