diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/chips/max6875.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/chips/max6875.c b/drivers/i2c/chips/max6875.c index 1a7993e63541..35a8e9215294 100644 --- a/drivers/i2c/chips/max6875.c +++ b/drivers/i2c/chips/max6875.c | |||
@@ -131,11 +131,6 @@ exit_up: | |||
131 | up(&data->update_lock); | 131 | up(&data->update_lock); |
132 | } | 132 | } |
133 | 133 | ||
134 | static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj) | ||
135 | { | ||
136 | return to_i2c_client(container_of(kobj, struct device, kobj)); | ||
137 | } | ||
138 | |||
139 | static ssize_t max6875_read(struct kobject *kobj, char *buf, loff_t off, | 134 | static ssize_t max6875_read(struct kobject *kobj, char *buf, loff_t off, |
140 | size_t count) | 135 | size_t count) |
141 | { | 136 | { |