upstream: [media] em28xx-video: simplify usage of the pointer to struct v4l2_ctrl_han...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Mon, 24 Mar 2014 19:33:08 +0000 (16:33 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:18 +0000 (11:59 +0900)
commit36291158851b0575188b20e2091681bf62e38cd4
tree34252544a7d6c5bb552f600cfe76bd792aff08d5
parent6c6e399ed1b60eb381aba04b4b760f4d7abb2d05
upstream: [media] em28xx-video: simplify usage of the pointer to struct v4l2_ctrl_handler in em28xx_v4l2_init()

The local var hdl is already pointing to &dev->ctrl_handler.
Use it, instead of dereferencing it all the time.

Code cleanup. No functional changes.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c