From: Andrey Shvetsov <andrey.shvet...@k2l.de>

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.shvet...@k2l.de>
Signed-off-by: Christian Gromm <christian.gr...@microchip.com>
---
 drivers/staging/most/hdm-usb/hdm_usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c 
b/drivers/staging/most/hdm-usb/hdm_usb.c
index 990a03e..a01b0e6 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
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to