* Duplicate htu21 drivers
@ 2015-10-28 10:03 Michal Marek
[not found] ` <20151028105128.770BF1E93@relay1.suse.de>
0 siblings, 1 reply; 3+ messages in thread
From: Michal Marek @ 2015-10-28 10:03 UTC (permalink / raw)
To: William Markezana, Jean Delvare, Guenter Roeck, Ludovic Tancerel,
Jonathan Cameron
Cc: lm-sensors, linux-iio
Hi,
commit 2b5c53d2c958 ("Add htu21 meas-spec driver support") introduced a
new implementation of the htu21 driver into drivers/iio/humidity. At
first glance, it provides the same features as drivers/hwmon/htu21 with
a different sysfs interface. What is the plan with these two drivers?
Will the iio driver replace the hwmon one? At a minimum, they should
conflict in kconfig, because module names must be unique.
Thanks,
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Duplicate htu21 drivers
[not found] ` <20151028105128.770BF1E93@relay1.suse.de>
@ 2015-10-28 11:15 ` Michal Marek
2015-10-28 12:15 ` Guenter Roeck
0 siblings, 1 reply; 3+ messages in thread
From: Michal Marek @ 2015-10-28 11:15 UTC (permalink / raw)
To: ludovic.tancerel@maplehightech.com
Cc: William Markezana, Jean Delvare, Guenter Roeck, Jonathan Cameron,
lm-sensors, linux-iio
Dne 28.10.2015 v 11:52 ludovic.tancerel@maplehightech.com napsal(a):
> Hello Michal,
>
> the plan discussed with Jonathan and Guenter was to remove the driver
> in hwmon once the iio one was introduced.
>
> Should I provide a patch in Kconfig to make them conflict as of now
> ?
Then you can either execute your plan :), or make the hwmon driver
depend on HTU21=n.
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Duplicate htu21 drivers
2015-10-28 11:15 ` Michal Marek
@ 2015-10-28 12:15 ` Guenter Roeck
0 siblings, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2015-10-28 12:15 UTC (permalink / raw)
To: ludovic.tancerel@maplehightech.com
Cc: Michal Marek, William Markezana, Jean Delvare, Jonathan Cameron,
lm-sensors, linux-iio
On Wed, Oct 28, 2015 at 12:53:12PM +0100, ludovic.tancerel@maplehightech.com wrote:
> I was not sure about the timing for the plan … :)
> Now that the patch has been approved for IIO, then indeed I can remove the patch for htu21 in hwmon.
Yes, the driver in hwmon needs to be removed. Patch welcome.
Guenter
> Thanks,
> Ludovic
>
>
>
> > Le 28 oct. 2015 à 12:15, Michal Marek <mmarek@suse.cz> a écrit :
> >
> > Dne 28.10.2015 v 11:52 ludovic.tancerel@maplehightech.com napsal(a):
> >> Hello Michal,
> >>
> >> the plan discussed with Jonathan and Guenter was to remove the driver
> >> in hwmon once the iio one was introduced.
> >>
> >> Should I provide a patch in Kconfig to make them conflict as of now
> >> ?
> >
> > Then you can either execute your plan :), or make the hwmon driver
> > depend on HTU21=n.
> >
> > Michal
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-28 12:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28 10:03 Duplicate htu21 drivers Michal Marek
[not found] ` <20151028105128.770BF1E93@relay1.suse.de>
2015-10-28 11:15 ` Michal Marek
2015-10-28 12:15 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox