From: David Brownell Minor fixups to the gpiolib code. Signed-off-by: David Brownell Signed-off-by: Andrew Morton --- lib/gpiolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN lib/gpiolib.c~generic-gpio-gpio_chip-support-fix lib/gpiolib.c --- a/lib/gpiolib.c~generic-gpio-gpio_chip-support-fix +++ a/lib/gpiolib.c @@ -28,7 +28,7 @@ #define extra_checks 0 #endif -/* gpio_lock protects the table of chips and to gpio_chip->requested. +/* gpio_lock protects the table of chips and gpio_chip->requested. * While any gpio is requested, its gpio_chip is not removable. It's * a raw spinlock to ensure safe access from hardirq contexts, and to * shrink bitbang overhead: per-bit preemption would be very wrong. @@ -533,6 +533,6 @@ static int __init gpiolib_debugfs_init(v NULL, NULL, &gpiolib_operations); return 0; } -postcore_initcall(gpiolib_debugfs_init); +subsys_initcall(gpiolib_debugfs_init); #endif /* DEBUG_FS */ _