aboutsummaryrefslogtreecommitdiffstats
path: root/d06.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-30 15:37:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-30 15:37:22 +0100
commit946cb48082b0bbff0bb96b3f816d0327bf409d79 (patch)
treeddf24fb1cffad74877ccd6d4c3421cf8e6cc5bb8 /d06.patch
parent3c37d678907cad7f656ff2d3f1d7d9781cf90b58 (diff)
downloadpatches-946cb48082b0bbff0bb96b3f816d0327bf409d79.tar.gz
more patches updated
Diffstat (limited to 'd06.patch')
-rw-r--r--d06.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/d06.patch b/d06.patch
new file mode 100644
index 00000000000000..bff4fdf7205c51
--- /dev/null
+++ b/d06.patch
@@ -0,0 +1,61 @@
+---
+ drivers/net/caif/caif_spi.c | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+--- a/drivers/net/caif/caif_spi.c
++++ b/drivers/net/caif/caif_spi.c
+@@ -289,44 +289,44 @@ static LIST_HEAD(cfspi_list);
+ static spinlock_t cfspi_list_lock;
+
+ /* SPI uplink head alignment. */
+-static ssize_t show_up_head_align(struct device_driver *driver, char *buf)
++static ssize_t up_head_align_show(struct device_driver *driver, char *buf)
+ {
+ return sprintf(buf, "%d\n", spi_up_head_align);
+ }
+
+-static DRIVER_ATTR(up_head_align, S_IRUSR, show_up_head_align, NULL);
++static DRIVER_ATTR_RO(up_head_align);
+
+ /* SPI uplink tail alignment. */
+-static ssize_t show_up_tail_align(struct device_driver *driver, char *buf)
++static ssize_t up_tail_align_show(struct device_driver *driver, char *buf)
+ {
+ return sprintf(buf, "%d\n", spi_up_tail_align);
+ }
+
+-static DRIVER_ATTR(up_tail_align, S_IRUSR, show_up_tail_align, NULL);
++static DRIVER_ATTR_RO(up_tail_align);
+
+ /* SPI downlink head alignment. */
+-static ssize_t show_down_head_align(struct device_driver *driver, char *buf)
++static ssize_t down_head_align_show(struct device_driver *driver, char *buf)
+ {
+ return sprintf(buf, "%d\n", spi_down_head_align);
+ }
+
+-static DRIVER_ATTR(down_head_align, S_IRUSR, show_down_head_align, NULL);
++static DRIVER_ATTR_RO(down_head_align);
+
+ /* SPI downlink tail alignment. */
+-static ssize_t show_down_tail_align(struct device_driver *driver, char *buf)
++static ssize_t down_tail_align_show(struct device_driver *driver, char *buf)
+ {
+ return sprintf(buf, "%d\n", spi_down_tail_align);
+ }
+
+-static DRIVER_ATTR(down_tail_align, S_IRUSR, show_down_tail_align, NULL);
++static DRIVER_ATTR_RO(down_tail_align);
+
+ /* SPI frame alignment. */
+-static ssize_t show_frame_align(struct device_driver *driver, char *buf)
++static ssize_t frame_align_show(struct device_driver *driver, char *buf)
+ {
+ return sprintf(buf, "%d\n", spi_frm_align);
+ }
+
+-static DRIVER_ATTR(frame_align, S_IRUSR, show_frame_align, NULL);
++static DRIVER_ATTR_RO(frame_align);
+
+ int cfspi_xmitfrm(struct cfspi *cfspi, u8 *buf, size_t len)
+ {