rtc: cmos: Use predefined value for RTC IRQ on legacy x86
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 23 Jan 2020 13:14:36 +0000 (15:14 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 25 Jan 2020 20:55:12 +0000 (21:55 +0100)
commit5848ad2f1bcbb1bfbf3db3ee1a51fa5d0994ead6
tree6f7cd6e821f127b96fe582566c06c796d55ee7c2
parentb6da197a2e9670df6f07e6698629e9ce95ab614e
rtc: cmos: Use predefined value for RTC IRQ on legacy x86

When legacy devices are present on x86 machine, the RTC IRQ has
a dedicated pre-defined value. Use it instead of hard coded number.

Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Guilherme G. Piccoli <gpiccoli@canonical.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200123131437.28157-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-cmos.c