From: Sebastian Andrzej Siewior Date: Mon, 15 Aug 2011 14:51:22 +0000 (+0200) Subject: drivers_base: platform: use always ->name for uevent X-Git-Tag: v3.2-rc1~184^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a26813c9f528f17901b2f2394fba8557d2c9485;p=pandora-kernel.git drivers_base: platform: use always ->name for uevent If id_entry is available then it is used. However if we remove first the driver followed by the device, then the id_entry is pointing to driver's memory which is long gone. Since id->name and plat->name are equal there is no point in distinguishing them. Cc: Grant Likely Cc: linux-kernel@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed