sh: register the rtc-generic platform device properly.