From: Vaishali Thakkar Date: Fri, 31 Jul 2015 15:37:23 +0000 (-0600) Subject: coresight: replicator: Use builtin_platform_driver() X-Git-Tag: omap-for-v4.3/fixes-merge-window~46^2~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c35aaa13794a0c5b752af19993222d08497e7036;p=pandora-kernel.git coresight: replicator: Use builtin_platform_driver() Macro builtin_platform_driver can be used for builtin drivers that don't do anything in driver init. This file depends on Kconfig CONFIG_CORESIGHT_LINKS_AND_SINKS which eventually depends on CORESIGHT. Both CONFIG_CORESIGHT_LINKS_AND_SINKS and CORESIGHT are bool. So, use builtin_platform_driver and remove some boilerplate code. Also, remove header file init.h as functionality like module_init and module_exit is now relocated to module.h. Signed-off-by: Vaishali Thakkar Suggested-by: Paul Bolle Signed-off-by: Mathieu Poirier Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed