[PATCH] drivers:base:core: Moved sym export macros to respective functions

2013-07-21 Thread David Graham White
Moved 11 calls to the EXPORT_SYMBOL_GPL beneath their respective functions per checkpatch.pl warnings. Signed-off-by: David Graham White --- drivers/base/core.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/drivers/base/core.c b/drivers/base

[PATCH] drivers: base: core: Removed superfluous calls to put_device in device_destroy and to kobject deletion functions in device_del.

2013-07-21 Thread David Graham White
ff-by: David Graham White --- drivers/base/core.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index 8856d74..d6494ee 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1292,9 +1292,7 @@ void device_del(struct device