| Date | Tue, 10 Mar 2015 08:47:46 +0100 | Subject | Re: [PATCH 01/60] mtd: core: tone down suggestion that dev.parent should be set | From | Frans Klaver <> |
| |
On Tue, Mar 10, 2015 at 12:14 AM, Brian Norris <computersforpeace@gmail.com> wrote: > On Tue, Mar 03, 2015 at 10:39:45PM +0100, Frans Klaver wrote: >> add_mtd_device() has a comment suggesting that the caller should have >> set dev.parent. This is required to have the device show up in sysfs, > > What do you mean "have the device show up in sysfs"? AFAICT, this only > has bearing on whether the *parent* device shows up as a sysfs symlink > within the MTD device directory. i.e.: > > /sys/class/mtd/mtd*/device > > For instance, this sort of symlink: > > /sys/class/mtd/mtd0/device -> ../../../f03e2800.nand > > It might be good to clarify this in the commit message, since you make > the problem sound worse than (I think) it is.
I do? That was definitely not my intention. I'll look into it.
Thanks, Frans
|