[media] drxd: use kzalloc in drxd_attach()
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 1 Oct 2015 20:25:15 +0000 (17:25 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 3 Oct 2015 14:44:32 +0000 (11:44 -0300)
commitf4f24d1fd0803e8b5de5da373276f5046bef7463
treed3b98ca19e39d4496e38e139ccd3dd0c0ae502a8
parentedf8875f21c34102be54becfb5f435f0b7ca5a65
[media] drxd: use kzalloc in drxd_attach()

This saves a little .text and removes the sizeof(...) style
inconsistency. Use sizeof(*state) in accordance with CodingStyle.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/drxd_hard.c