commit | a2f07305e53545dceb08724ed86345c198b2a91a | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Apr 13 22:05:43 2013 +0800 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Apr 15 17:21:18 2013 +0100 |
tree | 893c2a319f44091bd12e0d57df59df502083abc6 | |
parent | 41ef2d5678d83af030125550329b6ae8b74618fa [diff] |
regulator: max8997: Test pdata by NULL checking instead of IS_ERR_OR_NULL pdata is either a valid pointer or NULL, use NULL checking rather than IS_ERR_OR_NULL macro. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>