Merge "Revert "spmi: prevent showing the address of spmidev"" into LA.BF.1.1.3_rb1.15

This commit is contained in:
Linux Build Service Account
2017-02-01 04:57:06 -08:00
committed by Gerrit - the friendly Code Review server
+1 -1
View File
@@ -252,7 +252,7 @@ int spmi_add_device(struct spmi_device *spmidev)
}
/* Set the device name */
dev_set_name(dev, "%s-%02d", spmidev->name, spmidev->sid);
dev_set_name(dev, "%s-%p", spmidev->name, spmidev);
/* Device may be bound to an active driver when this returns */
rc = device_add(dev);