diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-08 21:47:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-04 17:47:08 +0200 |
commit | 83f939f4d4b91c245ff4e58422c014969f3772a6 (patch) | |
tree | 9d4bebb74aafd23181762cc176942991aead1715 /net/unix/af_unix.c | |
parent | b73602bf552b6422327c453772f30e64fcb4178d (diff) |
misc: eeprom_93xx46: Convert to DEVICE_ATTR_WO()
Use DEVICE_ATTR_WO() helper instead of plain DEVICE_ATTR(),
which makes the code a bit shorter and easier to read.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240508184905.2102633-11-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions