summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>2016-09-09 13:25:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-12 07:47:15 (GMT)
commit3e2880bee53b22b35df3cbbd58ffc84c2ba5c0e6 (patch)
tree9c4a4916fe55a3e04350183837b2575ff7e25c2e
parentac33fbb86578c5587eb5904e66b9ea3ec99c78aa (diff)
downloadlinux-3e2880bee53b22b35df3cbbd58ffc84c2ba5c0e6.tar.xz
staging: most: hdm-usb: remove reference to read function in write only macro
This patch replaces the reference to the function show_value() with NULL in the macro MOST_DCI_WO_ATTR used for the write only attributes. Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de> Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/most/hdm-usb/hdm_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c
index f3264f1..b27544e 100644
--- a/drivers/staging/most/hdm-usb/hdm_usb.c
+++ b/drivers/staging/most/hdm-usb/hdm_usb.c
@@ -952,7 +952,7 @@ static struct usb_device_id usbid[] = {
#define MOST_DCI_WO_ATTR(_name) \
struct most_dci_attribute most_dci_attr_##_name = \
- __ATTR(_name, S_IWUSR, show_value, store_value)
+ __ATTR(_name, S_IWUSR, NULL, store_value)
/**
* struct most_dci_attribute - to access the attributes of a dci object