diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-06-09 13:41:32 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-06-20 09:19:12 +0200 |
commit | f6ac438e5e9d8052b07ebe43673b88f0496fed8d (patch) | |
tree | 75640647cc58f69b39d74a57c15e8a916394780c /drivers/tty | |
parent | gpio: mockup: add myself as author (diff) | |
download | linux-f6ac438e5e9d8052b07ebe43673b88f0496fed8d.tar.xz linux-f6ac438e5e9d8052b07ebe43673b88f0496fed8d.zip |
gpio: mockup: use devm_kcalloc() where applicable
When allocating a zeroed array of objects use devm_kcalloc() instead
of manually calculating the required size and using devm_kzalloc().
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions