mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
platform: int3472: Drop redundant initialisation to 0 and NULL
A few fields in structs containing regulator initialisation data for Dell laptops are initialised to 0 and NULL. Drop the explicit initialisation as redundant. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
be653ae811
commit
49834ae6d6
|
|
@ -151,8 +151,6 @@ static const struct regulator_init_data dell_7212_tps68470_core_reg_init_data =
|
|||
.apply_uV = 1,
|
||||
.valid_ops_mask = REGULATOR_CHANGE_STATUS,
|
||||
},
|
||||
.num_consumer_supplies = 0,
|
||||
.consumer_supplies = NULL,
|
||||
};
|
||||
|
||||
static const struct regulator_init_data dell_7212_tps68470_ana_reg_init_data = {
|
||||
|
|
@ -162,8 +160,6 @@ static const struct regulator_init_data dell_7212_tps68470_ana_reg_init_data = {
|
|||
.apply_uV = 1,
|
||||
.valid_ops_mask = REGULATOR_CHANGE_STATUS,
|
||||
},
|
||||
.num_consumer_supplies = 0,
|
||||
.consumer_supplies = NULL,
|
||||
};
|
||||
|
||||
static const struct regulator_init_data dell_7212_tps68470_vcm_reg_init_data = {
|
||||
|
|
@ -173,8 +169,6 @@ static const struct regulator_init_data dell_7212_tps68470_vcm_reg_init_data = {
|
|||
.apply_uV = 1,
|
||||
.valid_ops_mask = REGULATOR_CHANGE_STATUS,
|
||||
},
|
||||
.num_consumer_supplies = 0,
|
||||
.consumer_supplies = NULL,
|
||||
};
|
||||
|
||||
static const struct regulator_init_data dell_7212_tps68470_vio_reg_init_data = {
|
||||
|
|
@ -184,8 +178,6 @@ static const struct regulator_init_data dell_7212_tps68470_vio_reg_init_data = {
|
|||
.apply_uV = 1,
|
||||
.valid_ops_mask = REGULATOR_CHANGE_STATUS,
|
||||
},
|
||||
.num_consumer_supplies = 0,
|
||||
.consumer_supplies = NULL,
|
||||
};
|
||||
|
||||
static const struct regulator_init_data dell_7212_tps68470_vsio_reg_init_data = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user