]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drivers/leds/leds-pca9532.c: change driver name to be unique
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 8 Jul 2011 22:39:46 +0000 (15:39 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Jul 2011 04:14:44 +0000 (21:14 -0700)
commit30cb35be6daff48ad6c049466ac92a22c200d1b2
treea0cebf341f3e88afef9ce9a5582d5d327a9fd5ab
parent8f3b1327aa454bc8283e96bca7669c3c88b83f79
drivers/leds/leds-pca9532.c: change driver name to be unique

This driver handles the variants pca9530-pca9533, so it chose the name
"pca953x".  However, there is a gpio driver which decided on the same
name.  As a result, those two can't be loaded at the same time.  Add a
subsystem prefix to make the driver name unique.  Device matching will not
suffer, because both are I2C drivers which match using a
i2c_device_id-table which is not altered.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/leds/leds-pca9532.c