diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-19 14:36:07 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-19 14:36:07 +0200 |
| commit | 572d0e278d7804a37234f2ad469bf25ee16f7e80 (patch) | |
| tree | 338d86aaa5bb6a92040843364f236fbdcf6dc1c7 /d14.patch | |
| parent | 946fc389715265f4d57343469ed56d6166efcbd5 (diff) | |
| download | patches-572d0e278d7804a37234f2ad469bf25ee16f7e80.tar.gz | |
add metadata to the d??.patch files
Diffstat (limited to 'd14.patch')
| -rw-r--r-- | d14.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/d14.patch b/d14.patch index 27abe3120c4a99..6a0e6486f4797a 100644 --- a/d14.patch +++ b/d14.patch @@ -1,3 +1,19 @@ +From foo@baz Wed Jul 19 14:32:31 CEST 2017 +Date: Wed, 19 Jul 2017 14:32:31 +0200 +To: Greg KH <gregkh@linuxfoundation.org> +From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +Subject: DMA: ppc4xx: remove DRIVER_ATTR() usage + +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. + +This is part of a series to drop DRIVER_ATTR() from the tree entirely. + +Cc: Vinod Koul <vinod.koul@intel.com> +Cc: Dan Williams <dan.j.williams@intel.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- drivers/dma/ppc4xx/adma.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) |
