In process of removing unused code from platform_driver