diff options
| author | Axel Lin <[email protected]> | 2011-05-12 13:47:50 +0800 |
|---|---|---|
| committer | Liam Girdwood <[email protected]> | 2011-05-27 10:49:09 +0100 |
| commit | 77fa44d0e10711e899788c58fe53f8f7b18c7f67 (patch) | |
| tree | fb2a0313778dd0ade523162506af3a0835e2ccc3 /fs/ubifs/commit.c | |
| parent | c01e36dde4632e0a7474fddf0716f1e54f01f13e (diff) | |
regulator: Fix desc_id for tps65023/6507x/65910
The desc_id variable should not be a static variable.
The rest of the code assumes the desc_id must less than TPSxxxxx_NUM_REGULATOR.
If we set desc_id to be a static variable, checking the return value of
rdev_get_id() may return error.
Signed-off-by: Axel Lin <[email protected]>
Cc: Anuj Aggarwal <[email protected]>
Cc: Graeme Gregory <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions