mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
Merge remote-tracking branches 'regulator/fix/max1586', 'regulator/fix/max77686', 'regulator/fix/max77693', 'regulator/fix/max77802', 'regulator/fix/max8860' and 'regulator/fix/s2mpa01' into regulator-linus
This commit is contained in:
commit
2a7509b187
@ -163,7 +163,7 @@ static int of_get_max1586_platform_data(struct device *dev,
|
||||
struct max1586_platform_data *pdata)
|
||||
{
|
||||
struct max1586_subdev_data *sub;
|
||||
struct of_regulator_match rmatch[ARRAY_SIZE(max1586_reg)];
|
||||
struct of_regulator_match rmatch[ARRAY_SIZE(max1586_reg)] = { };
|
||||
struct device_node *np = dev->of_node;
|
||||
int i, matched;
|
||||
|
||||
|
@ -395,7 +395,7 @@ static int max77686_pmic_dt_parse_pdata(struct platform_device *pdev,
|
||||
struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent);
|
||||
struct device_node *pmic_np, *regulators_np;
|
||||
struct max77686_regulator_data *rdata;
|
||||
struct of_regulator_match rmatch;
|
||||
struct of_regulator_match rmatch = { };
|
||||
unsigned int i;
|
||||
|
||||
pmic_np = iodev->dev->of_node;
|
||||
|
@ -227,7 +227,7 @@ static int max77693_pmic_probe(struct platform_device *pdev)
|
||||
struct max77693_dev *iodev = dev_get_drvdata(pdev->dev.parent);
|
||||
struct max77693_regulator_data *rdata = NULL;
|
||||
int num_rdata, i;
|
||||
struct regulator_config config;
|
||||
struct regulator_config config = { };
|
||||
|
||||
num_rdata = max77693_pmic_init_rdata(&pdev->dev, &rdata);
|
||||
if (!rdata || num_rdata <= 0) {
|
||||
|
@ -454,7 +454,7 @@ static int max77802_pmic_dt_parse_pdata(struct platform_device *pdev,
|
||||
struct max77686_dev *iodev = dev_get_drvdata(pdev->dev.parent);
|
||||
struct device_node *pmic_np, *regulators_np;
|
||||
struct max77686_regulator_data *rdata;
|
||||
struct of_regulator_match rmatch;
|
||||
struct of_regulator_match rmatch = { };
|
||||
unsigned int i;
|
||||
|
||||
pmic_np = iodev->dev->of_node;
|
||||
|
@ -335,7 +335,7 @@ static int max8660_pdata_from_dt(struct device *dev,
|
||||
int matched, i;
|
||||
struct device_node *np;
|
||||
struct max8660_subdev_data *sub;
|
||||
struct of_regulator_match rmatch[ARRAY_SIZE(max8660_reg)];
|
||||
struct of_regulator_match rmatch[ARRAY_SIZE(max8660_reg)] = { };
|
||||
|
||||
np = of_get_child_by_name(dev->of_node, "regulators");
|
||||
if (!np) {
|
||||
|
@ -341,7 +341,7 @@ static int s2mpa01_pmic_probe(struct platform_device *pdev)
|
||||
{
|
||||
struct sec_pmic_dev *iodev = dev_get_drvdata(pdev->dev.parent);
|
||||
struct sec_platform_data *pdata = dev_get_platdata(iodev->dev);
|
||||
struct of_regulator_match rdata[S2MPA01_REGULATOR_MAX];
|
||||
struct of_regulator_match rdata[S2MPA01_REGULATOR_MAX] = { };
|
||||
struct device_node *reg_np = NULL;
|
||||
struct regulator_config config = { };
|
||||
struct s2mpa01_info *s2mpa01;
|
||||
|
Loading…
Reference in New Issue
Block a user