mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-05 22:25:16 +00:00
eeprom: at24: make struct initialization uniform in at24_probe()
When zeroing structs, use "{ }" everywhere. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4fee330f9
commit
53998fa89a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue