mbox series

[v4,0/3] device property: Remove device_add_properties()

Message ID 20211115121001.77041-1-heikki.krogerus@linux.intel.com (mailing list archive)
Headers show
Series device property: Remove device_add_properties() | expand

Message

Heikki Krogerus Nov. 15, 2021, 12:09 p.m. UTC
Hi,

One more version. Hopefully the commit messages are now OK. No other
changes since v3:

https://lore.kernel.org/lkml/20211006112643.77684-1-heikki.krogerus@linux.intel.com/


v3 cover letter:

In this third version of this series, the second patch is now split in
two. The device_remove_properties() call is first removed from
device_del() in its own patch, and the
device_add/remove_properties() API is removed separately in the last
patch. I hope the commit messages are clear enough this time.


v2 cover letter:

This is the second version where I only modified the commit message of
the first patch according to comments from Bjorn.


Original cover letter:

There is one user left for the API, so converting that to use software
node API instead, and removing the function.


thanks,

Heikki Krogerus (3):
  PCI: Convert to device_create_managed_software_node()
  driver core: Don't call device_remove_properties() from device_del()
  device property: Remove device_add_properties() API

 drivers/base/core.c      |  1 -
 drivers/base/property.c  | 48 ----------------------------------------
 drivers/pci/quirks.c     |  2 +-
 include/linux/property.h |  4 ----
 4 files changed, 1 insertion(+), 54 deletions(-)

Comments

Rafael J. Wysocki Nov. 24, 2021, 1:59 p.m. UTC | #1
On Mon, Nov 15, 2021 at 1:10 PM Heikki Krogerus
<heikki.krogerus@linux.intel.com> wrote:
>
> Hi,
>
> One more version. Hopefully the commit messages are now OK. No other
> changes since v3:
>
> https://lore.kernel.org/lkml/20211006112643.77684-1-heikki.krogerus@linux.intel.com/
>
>
> v3 cover letter:
>
> In this third version of this series, the second patch is now split in
> two. The device_remove_properties() call is first removed from
> device_del() in its own patch, and the
> device_add/remove_properties() API is removed separately in the last
> patch. I hope the commit messages are clear enough this time.
>
>
> v2 cover letter:
>
> This is the second version where I only modified the commit message of
> the first patch according to comments from Bjorn.
>
>
> Original cover letter:
>
> There is one user left for the API, so converting that to use software
> node API instead, and removing the function.
>
>
> thanks,
>
> Heikki Krogerus (3):
>   PCI: Convert to device_create_managed_software_node()
>   driver core: Don't call device_remove_properties() from device_del()
>   device property: Remove device_add_properties() API
>
>  drivers/base/core.c      |  1 -
>  drivers/base/property.c  | 48 ----------------------------------------
>  drivers/pci/quirks.c     |  2 +-
>  include/linux/property.h |  4 ----
>  4 files changed, 1 insertion(+), 54 deletions(-)

Has this been picked up already or am I expected to pick it up?
Heikki Krogerus Nov. 24, 2021, 2:15 p.m. UTC | #2
On Wed, Nov 24, 2021 at 02:59:01PM +0100, Rafael J. Wysocki wrote:
> On Mon, Nov 15, 2021 at 1:10 PM Heikki Krogerus
> <heikki.krogerus@linux.intel.com> wrote:
> >
> > Hi,
> >
> > One more version. Hopefully the commit messages are now OK. No other
> > changes since v3:
> >
> > https://lore.kernel.org/lkml/20211006112643.77684-1-heikki.krogerus@linux.intel.com/
> >
> >
> > v3 cover letter:
> >
> > In this third version of this series, the second patch is now split in
> > two. The device_remove_properties() call is first removed from
> > device_del() in its own patch, and the
> > device_add/remove_properties() API is removed separately in the last
> > patch. I hope the commit messages are clear enough this time.
> >
> >
> > v2 cover letter:
> >
> > This is the second version where I only modified the commit message of
> > the first patch according to comments from Bjorn.
> >
> >
> > Original cover letter:
> >
> > There is one user left for the API, so converting that to use software
> > node API instead, and removing the function.
> >
> >
> > thanks,
> >
> > Heikki Krogerus (3):
> >   PCI: Convert to device_create_managed_software_node()
> >   driver core: Don't call device_remove_properties() from device_del()
> >   device property: Remove device_add_properties() API
> >
> >  drivers/base/core.c      |  1 -
> >  drivers/base/property.c  | 48 ----------------------------------------
> >  drivers/pci/quirks.c     |  2 +-
> >  include/linux/property.h |  4 ----
> >  4 files changed, 1 insertion(+), 54 deletions(-)
> 
> Has this been picked up already or am I expected to pick it up?

It hasn't been picked up by anybody, so if you can take these, that
would be great.

thanks,
Rafael J. Wysocki Nov. 24, 2021, 2:30 p.m. UTC | #3
On Wed, Nov 24, 2021 at 3:15 PM Heikki Krogerus
<heikki.krogerus@linux.intel.com> wrote:
>
> On Wed, Nov 24, 2021 at 02:59:01PM +0100, Rafael J. Wysocki wrote:
> > On Mon, Nov 15, 2021 at 1:10 PM Heikki Krogerus
> > <heikki.krogerus@linux.intel.com> wrote:
> > >
> > > Hi,
> > >
> > > One more version. Hopefully the commit messages are now OK. No other
> > > changes since v3:
> > >
> > > https://lore.kernel.org/lkml/20211006112643.77684-1-heikki.krogerus@linux.intel.com/
> > >
> > >
> > > v3 cover letter:
> > >
> > > In this third version of this series, the second patch is now split in
> > > two. The device_remove_properties() call is first removed from
> > > device_del() in its own patch, and the
> > > device_add/remove_properties() API is removed separately in the last
> > > patch. I hope the commit messages are clear enough this time.
> > >
> > >
> > > v2 cover letter:
> > >
> > > This is the second version where I only modified the commit message of
> > > the first patch according to comments from Bjorn.
> > >
> > >
> > > Original cover letter:
> > >
> > > There is one user left for the API, so converting that to use software
> > > node API instead, and removing the function.
> > >
> > >
> > > thanks,
> > >
> > > Heikki Krogerus (3):
> > >   PCI: Convert to device_create_managed_software_node()
> > >   driver core: Don't call device_remove_properties() from device_del()
> > >   device property: Remove device_add_properties() API
> > >
> > >  drivers/base/core.c      |  1 -
> > >  drivers/base/property.c  | 48 ----------------------------------------
> > >  drivers/pci/quirks.c     |  2 +-
> > >  include/linux/property.h |  4 ----
> > >  4 files changed, 1 insertion(+), 54 deletions(-)
> >
> > Has this been picked up already or am I expected to pick it up?
>
> It hasn't been picked up by anybody, so if you can take these, that
> would be great.

OK, applied as 5.17 material now.

Greg, please let me know if you'd rather take these patches yourself
and I'll drop them in that case.

Thanks!
Greg Kroah-Hartman Nov. 26, 2021, 3:54 p.m. UTC | #4
On Wed, Nov 24, 2021 at 03:30:53PM +0100, Rafael J. Wysocki wrote:
> On Wed, Nov 24, 2021 at 3:15 PM Heikki Krogerus
> <heikki.krogerus@linux.intel.com> wrote:
> >
> > On Wed, Nov 24, 2021 at 02:59:01PM +0100, Rafael J. Wysocki wrote:
> > > On Mon, Nov 15, 2021 at 1:10 PM Heikki Krogerus
> > > <heikki.krogerus@linux.intel.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > One more version. Hopefully the commit messages are now OK. No other
> > > > changes since v3:
> > > >
> > > > https://lore.kernel.org/lkml/20211006112643.77684-1-heikki.krogerus@linux.intel.com/
> > > >
> > > >
> > > > v3 cover letter:
> > > >
> > > > In this third version of this series, the second patch is now split in
> > > > two. The device_remove_properties() call is first removed from
> > > > device_del() in its own patch, and the
> > > > device_add/remove_properties() API is removed separately in the last
> > > > patch. I hope the commit messages are clear enough this time.
> > > >
> > > >
> > > > v2 cover letter:
> > > >
> > > > This is the second version where I only modified the commit message of
> > > > the first patch according to comments from Bjorn.
> > > >
> > > >
> > > > Original cover letter:
> > > >
> > > > There is one user left for the API, so converting that to use software
> > > > node API instead, and removing the function.
> > > >
> > > >
> > > > thanks,
> > > >
> > > > Heikki Krogerus (3):
> > > >   PCI: Convert to device_create_managed_software_node()
> > > >   driver core: Don't call device_remove_properties() from device_del()
> > > >   device property: Remove device_add_properties() API
> > > >
> > > >  drivers/base/core.c      |  1 -
> > > >  drivers/base/property.c  | 48 ----------------------------------------
> > > >  drivers/pci/quirks.c     |  2 +-
> > > >  include/linux/property.h |  4 ----
> > > >  4 files changed, 1 insertion(+), 54 deletions(-)
> > >
> > > Has this been picked up already or am I expected to pick it up?
> >
> > It hasn't been picked up by anybody, so if you can take these, that
> > would be great.
> 
> OK, applied as 5.17 material now.
> 
> Greg, please let me know if you'd rather take these patches yourself
> and I'll drop them in that case.

No problem, you can take them, thanks!

greg k-h