Commit 53998fa8 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Greg Kroah-Hartman

eeprom: at24: make struct initialization uniform in at24_probe()

When zeroing structs, use "{ }" everywhere.
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Tested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c4fee330
......@@ -518,7 +518,7 @@ static int at24_probe(struct i2c_client *client, const struct i2c_device_id *id)
struct regmap_config regmap_config = { };
struct nvmem_config nvmem_config = { };
const struct at24_chip_data *cd = NULL;
struct at24_platform_data chip = { 0 };
struct at24_platform_data chip = { };
unsigned int i, num_addresses;
struct at24_data *at24;
bool writable;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment