docs: hwmon: Use file modes explicitly
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>
Mon, 12 Dec 2022 14:12:46 +0000 (11:12 -0300)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 3 Feb 2023 15:30:09 +0000 (07:30 -0800)
commit95a56de6ed60aa74c91f67fc37fd28fa916a3521
tree68e8292944498fc846e8f8f6dc92737af6cdd853
parente2de0e6abd91b05411cb1f0953115dbbbe9b11ce
docs: hwmon: Use file modes explicitly

As stated in the mainling list[1] and by checkpatch output, the file modes
for is_visible_func should be returned explicitly. Change that in the
documentation to avoid confusion.

[1]https://lore.kernel.org/linux-hwmon/506a6e7f-4566-2dcf-37f3-0f41f4ce983b@roeck-us.net/

Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Link: https://lore.kernel.org/r/20221212141245.52935-1-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/hwmon-kernel-api.rst