android_kernel_xiaomi_sm8350/drivers
Kay Sievers 60b8cabd8e Driver Core: fix bug in device_rename() for SYSFS_DEPRECATED=y
This should fix the sysfs warnings that renaming network devices is
causing to show up with CONFIG_SYSFS_DEPRECATED=y

The code just shouldn't run if class devices are real directories, it's
an update for the symlink in the class directory. Nobody noticed that as
long as the creation of sysfs files silently failed, and we both missed
it before the merge, because we don't run SYSFS_DEPRECATED=y.        

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: David Miller <davem@davemloft.net>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-30 21:52:33 -07:00
..
acorn/char
acpi Pull documentation into release branch 2007-10-29 17:31:01 -04:00
amba
ata libata: implement and use ATA_QCFLAG_QUIET 2007-10-30 09:59:43 -04:00
atm Eliminate pointless casts from void* in a few driver irq handlers. 2007-10-23 19:53:16 -04:00
auxdisplay
base Driver Core: fix bug in device_rename() for SYSFS_DEPRECATED=y 2007-10-30 21:52:33 -07:00
block cciss: update copyright notices 2007-10-29 11:33:05 +01:00
bluetooth
cdrom SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
char x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMU 2007-10-30 00:22:22 +01:00
clocksource
connector
cpufreq
cpuidle cpuidle: remove unused exports 2007-10-29 17:27:50 -04:00
crypto [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
dca
dio
dma Remove bogus default y for DMAR and NET_DMA 2007-10-30 08:06:55 -07:00
edac
eisa
firewire firewire: fw-ohci: shut up a superfluous compiler warning 2007-10-22 19:48:56 +02:00
firmware
hid
hwmon
i2c
ide Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2007-10-28 12:03:14 -07:00
ieee1394 SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
infiniband SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
input [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
isdn [ISDN] capidrv: address two longstanding warnings 2007-10-29 04:45:06 -04:00
kvm Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
leds
lguest lguest: documentation update 2007-10-25 15:02:50 +10:00
macintosh
mca
md x86 merge fallout: uml 2007-10-29 07:41:32 -07:00
media SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
message SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
mfd
misc fujitsu-laptop.c: remove dead code 2007-10-25 17:43:46 -04:00
mmc Correction of "Update drivers to use sg helpers" patch for IMXMMC driver 2007-10-29 09:18:04 +01:00
mtd Eliminate pointless casts from void* in a few driver irq handlers. 2007-10-23 19:53:16 -04:00
net Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
nubus
of
oprofile
parisc parisc: fix sg_page() fallout 2007-10-23 09:49:31 +02:00
parport [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
pci intel-iommu: Fix array overflow 2007-10-30 08:06:55 -07:00
pcmcia
pnp
power Merge git://git.infradead.org/battery-2.6 2007-10-22 19:20:52 -07:00
ps3
rapidio
rtc s3c-rtc: remove unused variable 2007-10-30 08:06:55 -07:00
s390 SG: s390-scsi: missing size parameter in zfcp_address_to_sg() 2007-10-29 09:18:03 +01:00
sbus
scsi Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
serial serial: fix serial_txx9 console initialization 2007-10-30 08:06:55 -07:00
sh
sn
spi fix abuses of ptrdiff_t 2007-10-29 07:41:33 -07:00
ssb
tc
telephony
uio
usb x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMU 2007-10-30 00:22:22 +01:00
video Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
virtio Virtio helper routines for a descriptor ringbuffer implementation 2007-10-23 15:49:55 +10:00
w1 Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
watchdog Kbuild/doc: fix links to Documentation files 2007-10-30 14:26:30 -07:00
xen
zorro
Kconfig Virtio interface 2007-10-23 15:49:54 +10:00
Makefile Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 2007-10-23 16:37:29 -07:00