Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1693418

Re: [PATCH] DMA: ppc4xx: remove DRIVER_ATTR() usage

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] DMA: ppc4xx: remove DRIVER_ATTR() usage
Date 2017-07-21 08:40 +0200
Message-ID <u5zLs-1gw-7@gated-at.bofh.it> (permalink)
References <u4WK7-fH-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 19, 2017 at 02:56:28PM +0200, Greg KH wrote:
> From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> 
> It's better to be explicit and use the DRIVER_ATTR_RW() and
> DRIVER_ATTR_RO() macros when defining a driver's sysfs file.
> 
> Bonus is this fixes up a checkpatch.pl warning.

Applied after fixing the subsystem name, thanks

-- 
~Vinod

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] DMA: ppc4xx: remove DRIVER_ATTR() usage Greg KH <gregkh@linuxfoundation.org> - 2017-07-19 15:00 +0200
  Re: [PATCH] DMA: ppc4xx: remove DRIVER_ATTR() usage Vinod Koul <vinod.koul@intel.com> - 2017-07-21 08:40 +0200

csiph-web