mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
[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)
|
||||
{
|
||||
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, list);
|
||||
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);
|
||||
i2c_put_adapter(client->adapter);
|
||||
v4l2_device_unregister(&rsdev->v4l2_dev);
|
||||
|
Loading…
Reference in New Issue
Block a user