Re: [GIT PULL] Driver core fixes for 5.1-rc3

From: Greg KH
Date: Sat Mar 30 2019 - 03:10:42 EST


On Fri, Mar 29, 2019 at 03:14:03PM -0700, Linus Torvalds wrote:
> On Fri, Mar 29, 2019 at 12:39 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> >
> > After 5.1-rc1, all of the users of BUS_ATTR() are finally removed, so we
> > can now drop this macro from include/linux/device.h so that no more new
> > users will be created.
>
> Note that a quick grep shows that it still exists in the Chinese
> translation of filesystems/sysfs.txt..

Yeah, I wasn't going to touch that :)

Usually the translations take a few versions to sync back up again, as
they watch the English version for changes.

> Also mentioned in a comment, but at least there it talks about the "old macro".

Yes, I had to "open code" it in one place so I tried to document why it
was done that way.

thanks,

greg k-h