summaryrefslogtreecommitdiffstats
path: root/drivers/misc/pch_phub.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior2011-08-15 16:51:22 +0200
committerGreg Kroah-Hartman2011-08-23 02:53:08 +0200
commit0a26813c9f528f17901b2f2394fba8557d2c9485 (patch)
treea90242c302855c56763f9d46bc643cec2e02c8cc /drivers/misc/pch_phub.c
parentdrivers:uio:fix section mismatch in uio_pdrv_genirq.c (diff)
downloadkernel-qcow2-linux-0a26813c9f528f17901b2f2394fba8557d2c9485.tar.gz
kernel-qcow2-linux-0a26813c9f528f17901b2f2394fba8557d2c9485.tar.xz
kernel-qcow2-linux-0a26813c9f528f17901b2f2394fba8557d2c9485.zip
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 <grant.likely@secretlab.ca> Cc: linux-kernel@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/misc/pch_phub.c')
0 files changed, 0 insertions, 0 deletions