summaryrefslogtreecommitdiffstats
path: root/drivers/base/core.c
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2017-06-19 13:39:28 -0400
committerSean Paul <seanpaul@chromium.org>2017-06-19 13:39:28 -0400
commitd4e0045c4ed300781d2d4cbab57d05ed5e665a37 (patch)
tree925bab41d7906329392aa12c8fa7bcc70f64ca46 /drivers/base/core.c
parent2d7b56378d32b0cf006f8944cbba4046df45dd25 (diff)
parent41f1830f5a7af77cf5c86359aba3cbd706687e52 (diff)
downloadlinux-d4e0045c4ed300781d2d4cbab57d05ed5e665a37.tar.gz
linux-d4e0045c4ed300781d2d4cbab57d05ed5e665a37.tar.bz2
linux-d4e0045c4ed300781d2d4cbab57d05ed5e665a37.zip
Merge remote-tracking branch 'origin/master' into drm-misc-next-fixes
Backmerge 4.12-rc6 into -next-fixes. -next-fixes will contain find patches for 4.13 merge window
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 6bb60fb6a30b..bbecaf9293be 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -1607,7 +1607,7 @@ int device_private_init(struct device *dev)
*/
int device_add(struct device *dev)
{
- struct device *parent = NULL;
+ struct device *parent;
struct kobject *kobj;
struct class_interface *class_intf;
int error = -EINVAL;