regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe
PATCH 1/1 regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe
Signed-off-by Axel Lin <[email protected]>
--- drivers/regulator/tps6105x-regulator.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/regulator/tps6105x-regulator.c +1 -0
@@ -158,6 +158,7 @@ static int __devinit tps6105x_regulator_probe(struct platform_device *pdev) "failed to register regulator\n");return ret; } +platform_set_drvdata (pdev, tps6105x);return 0 ; }
Signature · 1 line
1.7.1
Quoted 1 line · Axel Lin
Signed-off-by Axel Lin <[email protected]>
Acked-by Mark Brown <[email protected]>
With things like this it's useful to note why the set is missing.