RE: [PATCH v4 3/8] iio: adis_trigger: Remove code to set trigger parent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
> Sent: Tuesday, March 9, 2021 8:36 PM
> To: jic23@xxxxxxxxxx; lars@xxxxxxxxxx;
> andy.shevchenko@xxxxxxxxx; ardeleanalex@xxxxxxxxx
> Cc: linux-iio@xxxxxxxxxxxxxxx; Gwendal Grignou
> <gwendal@xxxxxxxxxxxx>
> Subject: [PATCH v4 3/8] iio: adis_trigger: Remove code to set trigger
> parent
> 
> 
> iio_trigger_set_drvdata() sets the trigger device parent to first
> argument of viio_trigger_alloc(), no need to do it again in the driver
> code.
> Remove adis_trigger_setup() to match other drivers where setting the
> trigger is usually done in the probe() routine.
> 
> Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxxxx>
> ---

Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx>




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux