Re: [PATCH v7 2/2] iio: pressure: driver for Honeywell HSC/SSC series

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

 



On Mon, Dec 04, 2023 at 11:06:03PM +0200, Andy Shevchenko wrote:
> On Mon, Dec 04, 2023 at 09:43:59PM +0200, Petre Rodan wrote:

...

> > +		ret = match_string(hsc_triplet_variants, HSC_VARIANTS_MAX,
> > +						triplet);
> > +		if (ret < 0)
> > +			return dev_err_probe(dev, -EINVAL,
> > +				"honeywell,pressure-triplet is invalid\n");
> 
> Still you can use mentioned device property API.

Repeating here from v7 thread: I think that deduplicating code, esp. when APIs
are available, is a good to have before merging.

-- 
With Best Regards,
Andy Shevchenko






[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