summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/jz4740-hwmon.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-05-22 11:40:25 +0200
committerWim Van Sebroeck <wim@iguana.be>2012-05-30 07:55:41 +0200
commit85a2e40cb5053574cd3b1f33c00194309ce3704c (patch)
tree760e63cb090ac1a8eff5a0daca2bfe47176f9fb6 /drivers/hwmon/jz4740-hwmon.c
parentfb551405c0f8e15d6fc7ae6e16a5e15382f8b8ac (diff)
downloadblackbird-op-linux-85a2e40cb5053574cd3b1f33c00194309ce3704c.tar.gz
blackbird-op-linux-85a2e40cb5053574cd3b1f33c00194309ce3704c.zip
watchdog: sch56xx: Remove unnecessary checks for register changes
Since the watchdog core keeps track of the watchdog's active state, start/stop will never get called when no changes are necessary. So we can remove the check for the output_enable register changing before writing it (which is an expensive operation). Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/hwmon/jz4740-hwmon.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud