diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-03-31 08:11:29 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-04-08 10:10:09 +0200 |
commit | 476e2fc5cd430bbe17598833e79f8e8b9e4bbbc7 (patch) | |
tree | 89d991aa2df44ae4cbb2917ef4dda6ff55c57745 /include/linux/platform_data/serial-sccnxp.h | |
parent | c4e5ffb6f224c1a4a9eaad82b19645ec22d1b24f (diff) |
gpiolib: Do not use devm functions when registering gpio chip
It is possible that a gpio chip is registered before the gpiolib
initialization code has run. This means we can not use devm_ functions
to allocate memory at that time. Do it the old fashioned way.
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data/serial-sccnxp.h')
0 files changed, 0 insertions, 0 deletions