linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: mockup: use devm_kcalloc() where applicable
@ 2017-06-01 11:47 Bartosz Golaszewski
  2017-06-01 11:47 ` Bartosz Golaszewski
  2017-06-01 11:47 ` Bartosz Golaszewski
  0 siblings, 2 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2017-06-01 11:47 UTC (permalink / raw)
  To: Andy Shevchenko, Linus Walleij, Alexandre Courbot,
	Bamvor Jian Zhang
  Cc: linux-gpio, linux-kernel, Bartosz Golaszewski

This is a follow up to [1]. The patch proposes to use devm_kcalloc()
when allocating arrays of elements.

Bartosz Golaszewski (1):
  gpio: mockup: use devm_kcalloc() where applicable

 drivers/gpio/gpio-mockup.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-06-09 11:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-01 11:47 [PATCH] gpio: mockup: use devm_kcalloc() where applicable Bartosz Golaszewski
2017-06-01 11:47 ` Bartosz Golaszewski
2017-06-09  8:06   ` Linus Walleij
2017-06-09 11:29     ` Bartosz Golaszewski
2017-06-01 11:47 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).