diff options
author | Douglas Anderson <dianders@chromium.org> | 2018-08-16 13:28:03 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-28 21:10:23 +0100 |
commit | 7e4d9683d6a716533f5c5026795b7b1ebdbcb2ed (patch) | |
tree | 422533b4d3a8a905f2217c312ba7b5b52598b44c /drivers/rtc | |
parent | 7d3827b5954840ff7765aef282257b7368b5ea67 (diff) | |
download | linux-7e4d9683d6a716533f5c5026795b7b1ebdbcb2ed.tar.bz2 |
regulator: core: Add locking to debugfs regulator_summary
Most functions that access the rdev lock the rdev mutex before looking
at data. ...but not the code that implements the debugfs
regulator_summary. It probably should though, so let's do it.
Note: this fixes no known issues. The problem was found only by code
inspection.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions