static void __exit omap_alsa_tsc2101_exit(void) { ADEBUG(); #ifdef DUMP_TSC2101_AUDIO_REGISTERS printk("omap_alsa_tsc2101_exit()\n"); dump_tsc2101_audio_reg(); #endif platform_driver_unregister(&omap_alsa_driver); }
static int __init omap_alsa_tsc2101_init(void) { ADEBUG(); #ifdef DUMP_TSC2101_AUDIO_REGISTERS printk(KERN_INFO "omap_alsa_tsc2101_init()\n"); dump_tsc2101_audio_reg(); #endif return platform_driver_register(&omap_alsa_driver); }