diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-03-12 23:40:19 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-12 18:16:17 +0000 |
commit | 71f2146f6c22716838ffafd054391826341874f9 (patch) | |
tree | 5dc40060ddab0dcc6a1c6046e4e2a9ae35c70a54 /scripts | |
parent | 7be859f74ce232361c39d92d29da207ce6ee72bb (diff) | |
download | linux-71f2146f6c22716838ffafd054391826341874f9.tar.gz |
regulator: palmas: Use of_property_read_bool to read "ti,warm-reset" DT property
It does not make sense to assign return value of of_property_read_u32() to
pdata->reg_init[idx]->warm_reset. Use of_property_read_bool() to read
"ti,warm-reset" DT property instead which will return correct setting
for pdata->reg_init[idx]->warm_reset.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions