w1: ds2438: changed sysfs macro for rw file
authorLuiz Sampaio <sampaio.ime@gmail.com>
Wed, 19 May 2021 22:30:43 +0000 (19:30 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 12:51:32 +0000 (14:51 +0200)
commit67c6964228b6c0c759893915f0cb47a564c256dc
tree2a02cee4dfe90db8ff4c85afd2a16a158b78b206
parentc9f2713531a9ba2018695a3e191e28d84eaeaae6
w1: ds2438: changed sysfs macro for rw file

The iad sysfs file has permissions for read and write. Changed to the
recommended macro BIN_ATTR_RW.

Signed-off-by: Luiz Sampaio <sampaio.ime@gmail.com>
Link: https://lore.kernel.org/r/20210519223046.13798-4-sampaio.ime@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2438.c