aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c/chips/at24.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/at24.c')
-rw-r--r--drivers/i2c/chips/at24.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/chips/at24.c b/drivers/i2c/chips/at24.c
index 2a4acb26956..d4775528abc 100644
--- a/drivers/i2c/chips/at24.c
+++ b/drivers/i2c/chips/at24.c
@@ -460,7 +460,6 @@ static int at24_probe(struct i2c_client *client, const struct i2c_device_id *id)
*/
at24->bin.attr.name = "eeprom";
at24->bin.attr.mode = chip.flags & AT24_FLAG_IRUGO ? S_IRUGO : S_IRUSR;
- at24->bin.attr.owner = THIS_MODULE;
at24->bin.read = at24_bin_read;
at24->bin.size = chip.byte_len;