summaryrefslogtreecommitdiff
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorLibo Chen <clbchenlibo.chen@huawei.com>2013-05-25 08:40:50 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-04 00:59:03 +0400
commit9447057eaff871dd7c63c808de761b8732407169 (patch)
tree6284b1e6653b14ceb6a9193002eec6303a509a66 /drivers/base/core.c
parentf494513ff1b3f6bee2df329d8bbe864febf05a27 (diff)
downloadlinux-9447057eaff871dd7c63c808de761b8732407169.tar.xz
platform_device: use a macro instead of platform_driver_register
I found a lot of mistakes using struct platform_driver without owner so I make a macro instead of the function platform_driver_register. It can set owner in it, then guys don`t care about module owner again. Signed-off-by: Libo Chen <libo.chen@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/core.c')
0 files changed, 0 insertions, 0 deletions