[media] media: radio: CodingStyle changes on si4713
Minor changes to make alignment match on open parenthesis. Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
b09e71a8de
commit
385624a8e7
|
@ -331,13 +331,12 @@ exit:
|
||||||
static int radio_si4713_pdriver_remove(struct platform_device *pdev)
|
static int radio_si4713_pdriver_remove(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
|
struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev);
|
||||||
struct radio_si4713_device *rsdev = container_of(v4l2_dev,
|
|
||||||
struct radio_si4713_device,
|
|
||||||
v4l2_dev);
|
|
||||||
struct v4l2_subdev *sd = list_entry(v4l2_dev->subdevs.next,
|
struct v4l2_subdev *sd = list_entry(v4l2_dev->subdevs.next,
|
||||||
struct v4l2_subdev, list);
|
struct v4l2_subdev, list);
|
||||||
struct i2c_client *client = v4l2_get_subdevdata(sd);
|
struct i2c_client *client = v4l2_get_subdevdata(sd);
|
||||||
|
struct radio_si4713_device *rsdev;
|
||||||
|
|
||||||
|
rsdev = container_of(v4l2_dev, struct radio_si4713_device, v4l2_dev);
|
||||||
video_unregister_device(rsdev->radio_dev);
|
video_unregister_device(rsdev->radio_dev);
|
||||||
i2c_put_adapter(client->adapter);
|
i2c_put_adapter(client->adapter);
|
||||||
v4l2_device_unregister(&rsdev->v4l2_dev);
|
v4l2_device_unregister(&rsdev->v4l2_dev);
|
||||||
|
|
Loading…
Reference in New Issue