> -----Original Message----- > From: Yicong Yang <yangyicong@xxxxxxxxxxxxx> > Sent: Thursday, April 8, 2021 1:38 PM > To: jic23@xxxxxxxxxx; linux-iio@xxxxxxxxxxxxxxx > Cc: lars@xxxxxxxxxx; Hennerich, Michael > <Michael.Hennerich@xxxxxxxxxx>; pmeerw@xxxxxxxxxx; > prime.zeng@xxxxxxxxxx; tiantao6@xxxxxxxxxxxxx; > yangyicong@xxxxxxxxxxxxx > Subject: [PATCH 0/7] Simplify codes with devm_add_action_or_reset > > > Some devm variants are implemented with devres_alloc() and > devres_add() > manually to only manage a single pointer. This can be simplified with > devm_add_action_or_reset() which works the same. Simplify these > functions. > LGTM, Reviewed-by: Nuno Sa <nuno.sa@xxxxxxxxxx> Nuno Sá