lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4b45b01e78c37e23cc4e464ec07d2364e02e379.camel@fi.rohmeurope.com>
Date:   Wed, 15 Apr 2020 10:49:59 +0000
From:   "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To:     "lee.jones@...aro.org" <lee.jones@...aro.org>
CC:     "mazziesaccount@...il.com" <mazziesaccount@...il.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mfd: rohm-bdXXX - switch to use i2c probe_new

Hello Lee,

On Wed, 2020-04-15 at 10:50 +0100, Lee Jones wrote:
> On Thu, 26 Mar 2020, Matti Vaittinen wrote:
> 
> > ROHM BD70528 and BD718x7 drivers do not utilize the I2C id.
> > Do the trivial conversion and make them to use probe_new
> > instead of probe.
> 
> Not sure I understand the purpose of the patch.
> 
> The only reason to switch to probe_new is to aid the removal of the
> compulsory I2C tables.  However, neither of these drivers have them.

Maybe I have misunderstood the probe_new. My understanding was that the
probe_new is what should become the standard - Eg. eventually all I2C
drivers would use probe which is not getting the ID tables as argument
- and the old probe could be removed. Thus I thought conversion of
probe to probe_new would be required in order to get rid of the old
probe. I think I got this understanding when I submitted driver for
BD71828 - and I think it was you who suggested me to switch to
probe_new as 'id' was unused. But if please just drop this patch if
this change is not needed!

Thanks for taking a look at this :)

Best Regards
    --Matti

> 
> > Signed-off-by: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
> > ---
> >  drivers/mfd/rohm-bd70528.c | 5 ++---
> >  drivers/mfd/rohm-bd718x7.c | 5 ++---
> >  2 files changed, 4 insertions(+), 6 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ