[media] lirc_dev: place buffer allocation on separate function
authorAndi Shyti <andi.shyti@samsung.com>
Wed, 6 Jul 2016 09:01:13 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 17:52:36 +0000 (14:52 -0300)
commit6fa99e1af1981d9a57cc73b5c2f05903f18413c1
treec33febc6cf3f72e1a7cfce538562b0b6db654e54
parent199946731fa4e9b26c9f71a96a5e569289b13f50
[media] lirc_dev: place buffer allocation on separate function

During the driver registration, move the buffer allocation on a
separate function.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/lirc_dev.c