diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-07-12 08:49:37 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-09-01 02:10:15 +0300 |
commit | 82e2d43f6315d7ae8cca1d00c94f25df0f17eb85 (patch) | |
tree | d4b45ee711b5bcd1c15b4de04f40e1e662f5180a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7624df482d7aba599a92ebe1a1fab3e27749b658 (diff) | |
download | linux-82e2d43f6315d7ae8cca1d00c94f25df0f17eb85.tar.xz |
rtc: ds1307: improve irq setup
Change the usage of variable want_irq to reflect its name. Don't set
it to true in case wakeup is enabled but no interrupt number is given.
In addition set variable ds1307_can_wakeup_device if chip->alarm
is set only.
This allows to simplify the code and make it better understandable.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions