> -----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>