Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;