summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm95245.c
diff options
context:
space:
mode:
authorFabien Parent <fparent@baylibre.com>2019-03-23 22:15:52 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2019-04-12 19:42:41 +0200
commita51f4c031de35bc30d56bede232ffd2ae9c5fd6d (patch)
treed02ae03ee3c62fe5742d94067f9b381e901a45b4 /drivers/hwmon/lm95245.c
parentdt-bindings: pwrap: mediatek: add pwrap support for MT8516 (diff)
downloadlinux-a51f4c031de35bc30d56bede232ffd2ae9c5fd6d.tar.xz
linux-a51f4c031de35bc30d56bede232ffd2ae9c5fd6d.zip
soc: mediatek: pwrap: add missing check on rstc
The variable rstc is set only when the SoC PWRAP have the PWRAP_CAP_RESET capability. Check whether rstc is set before using it to avoid errors. Signed-off-by: Fabien Parent <fparent@baylibre.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/hwmon/lm95245.c')
0 files changed, 0 insertions, 0 deletions