driver core: device_rename's new_name can be const
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 5 Aug 2010 15:38:18 +0000 (17:38 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Aug 2010 20:53:35 +0000 (13:53 -0700)
commit6937e8f8c0135f2325194c372ada6dc655499992
tree436ede36f95f1cb40d5b9bd8f6711ca26faf0045
parent6fd69dc578fa0b1bbc3aad70ae3af9a137211707
driver core: device_rename's new_name can be const

The new_name argument to device_rename() can be
const as kobject_rename's new_name argument is.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h