media: dvb_frontend: dtv_property_process_set() cleanups
authorSatendra Singh Thakur <satendra.t@samsung.com>
Wed, 20 Sep 2017 05:15:08 +0000 (01:15 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 11 Oct 2017 17:14:42 +0000 (13:14 -0400)
commitc4303473b3a931b2b4ce325d3acae3c6b00ec71f
tree68d7d9efa65d0babc49041ba32c33b6c92273b2c
parente5c4be821a18005ed1883c1a82c3498ee8fcedfe
media: dvb_frontend: dtv_property_process_set() cleanups

Since all properties in the func dtv_property_process_set() use
at most 4 bytes arguments, change the code to pass
u32 cmd and u32 data as function arguments, instead of passing a
pointer to the entire struct dtv_property *tvp.

Instead of having a generic dtv_property_dump(), added its own
properties debug logic in the dtv_property_process_set().

Signed-off-by: Satendra Singh Thakur <satendra.t@samsung.com>
Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-core/dvb_frontend.c