commit | 2f1fbdaa1c4038264f2cb6d513c2dab717176b87 | [log] [tgz] |
---|---|---|
author | Oliver Wang <mengmeng@codeaurora.org> | Wed Jan 08 17:06:02 2014 +0800 |
committer | Oliver Wang <mengmeng@codeaurora.org> | Fri Jan 10 09:40:53 2014 +0800 |
tree | b44fb6f1ff7fd2ed67af0ba68ed54c2bea448778 | |
parent | 3b68b418ffd816220eed235dd41f7b7d318f435b [diff] |
input: sensors: fix the bmp18x driver request regulator multiple times The bmp18x driver may call regulator_get in resume routine. However, regulator_get will call the sysfs APIs to create duplicated files in sysfs. This will trigger the kernel warnings and backtrace. Change-Id: I758f2866adae69fd8f8a9477c12aa714303ab6f2 Signed-off-by: Oliver Wang <mengmeng@codeaurora.org>