firewire: core: add memo about the caller of show functions for device attributes
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 18 Mar 2024 08:59:14 +0000 (17:59 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 21 Mar 2024 12:20:18 +0000 (21:20 +0900)
commitbfb1ad3c6aab2341ace13222ac0a78e5b4c239c8
tree80a5868309a63447c55ee3c414e0c957fdfa8765
parent946593d1555921720fa674432e998a1b5931ddac
firewire: core: add memo about the caller of show functions for device attributes

In the case of firewire core function, the caller of show functions for
device attributes is not only sysfs user, but also device initialization.

This commit adds memo about it against the typical assumption that the
functions are just dedicated to sysfs user.

Link: https://lore.kernel.org/lkml/20240318091759.678326-1-o-takashi@sakamocchi.jp/
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-device.c