rtc: isl12022: Drop unneeded OF guards and of_match_ptr()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 Jan 2023 14:08:04 +0000 (16:08 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 22 Feb 2023 20:06:30 +0000 (21:06 +0100)
commitc8ae2735cb3d28892fd734804b60e5abf1f6fa91
treeadb6a5816afc2979fefc9455d5ef1935fd212b30
parent93219a4fb8bdf279f749b5eef40bef1bbe805fc3
rtc: isl12022: Drop unneeded OF guards and of_match_ptr()

Drop unneeded OF guards and of_match_ptr(). This allows use of
the driver with other types of firmware such as ACPI PRP0001 based
probing.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230110140806.87432-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl12022.c