]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] cx231xx: use devm_ functions to allocate memory
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 27 Jul 2014 19:27:29 +0000 (16:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 27 Jul 2014 19:54:21 +0000 (16:54 -0300)
commit184a82784d50ad82aadc3917a3bdd8314a0e9b9b
treec11c9d0e79a710a5e7d5957753d7fb94dac6d10f
parentdcb78ac761488f59ac16c2e76534c567017ef57b
[media] cx231xx: use devm_ functions to allocate memory

The initialization is already too complex. Use devm_ functions
to make the code simpler and easier to modify.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/cx231xx/cx231xx-cards.c