RTC: Fix rtc driver ioctl specific shortcutting
RTC: Fix rtc driver ioctl specific shortcutting

Some RTC drivers enable functionality directly via their ioctl method
instead of using the generic ioctl handling code. With the recent
virtualization of the RTC layer, its now important that the generic
layer always be used.

This patch moved the rtc driver ioctl method call to after the generic
ioctl processing is done. This allows hardware specific features or
ioctls to still function, while relying on the generic code for handling
everything else.

This patch on its own may more obviously break rtc drivers that
implement the alarm irq enablement via their ioctl method instead of
implementing the alarm_irq_eanble method. Those drivers will be fixed
in a following patch. Additionaly, those drivers are already likely to
not be functioning reliably without this patch.

CC: Alessandro Zummo <f0b9bd96bf07bfecc189c62159960134588fafe5@towertech.it>
CC: Marcelo Roberto Jimenez <cbfee7cc2b5ad5adb7c008f3609da41bdbf85ffa@cpti.cetuc.puc-rio.br>
CC: Thomas Gleixner <00e4cf8f46a57000a44449bf9dd8cbbcc209fd2a@linutronix.de>
Reported-by: Marcelo Roberto Jimenez <cbfee7cc2b5ad5adb7c008f3609da41bdbf85ffa@cpti.cetuc.puc-rio.br>
Tested-by: Marcelo Roberto Jimenez <cbfee7cc2b5ad5adb7c008f3609da41bdbf85ffa@cpti.cetuc.puc-rio.br>
Signed-off-by: John Stultz <33837adfb53316eae44aad04041e1240088d76fd@linaro.org>

KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs