iio: position: hid-sensor-custom-intel-hinge: Drop duplicate parent setting.
iio_dev.dev.parent is already set to the same value in devm_iio_device_alloc() Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Ye Xiang <xiang.ye@intel.com> Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com> Link: https://lore.kernel.org/r/20210426170251.351957-8-jic23@kernel.org
This commit is contained in:
parent
932bf4710e
commit
63027b3418
|
@ -303,7 +303,6 @@ static int hid_hinge_probe(struct platform_device *pdev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
indio_dev->dev.parent = &pdev->dev;
|
||||
indio_dev->info = &hinge_info;
|
||||
indio_dev->name = "hinge";
|
||||
indio_dev->modes = INDIO_DIRECT_MODE;
|
||||
|
|
Loading…
Reference in New Issue