driver core: remove unnecessary function extern declare
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Sun, 15 Jul 2018 10:08:56 +0000 (18:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jul 2018 11:32:20 +0000 (13:32 +0200)
commit46d3a03781ea70e25360660ac53bbb838de11c97
tree88fd0e1204a97c05b57e8bd2ead787546eeb9da8
parent3ec78790ec9a1e23fd9b6c8681a7cd3b64d3ad23
driver core: remove unnecessary function extern declare

device_private_init is called only in core.c, extern declare is
unnecessary and make it static.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
drivers/base/core.c