wacom_sys.c (1796829d9169a7a113c0b74aec04bd5c3ee9d70f) wacom_sys.c (d883312489df262501d635b706be43080b30f1ec)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * drivers/input/tablet/wacom_sys.c
4 *
5 * USB Wacom tablet support - system specific code
6 */
7
8/*

--- 1811 unchanged lines hidden (view full) ---

1820
1821static ssize_t wacom_show_speed(struct device *dev,
1822 struct device_attribute
1823 *attr, char *buf)
1824{
1825 struct hid_device *hdev = to_hid_device(dev);
1826 struct wacom *wacom = hid_get_drvdata(hdev);
1827
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * drivers/input/tablet/wacom_sys.c
4 *
5 * USB Wacom tablet support - system specific code
6 */
7
8/*

--- 1811 unchanged lines hidden (view full) ---

1820
1821static ssize_t wacom_show_speed(struct device *dev,
1822 struct device_attribute
1823 *attr, char *buf)
1824{
1825 struct hid_device *hdev = to_hid_device(dev);
1826 struct wacom *wacom = hid_get_drvdata(hdev);
1827
1828 return snprintf(buf, PAGE_SIZE, "%i\n", wacom->wacom_wac.bt_high_speed);
1828 return sysfs_emit(buf, "%i\n", wacom->wacom_wac.bt_high_speed);
1829}
1830
1831static ssize_t wacom_store_speed(struct device *dev,
1832 struct device_attribute *attr,
1833 const char *buf, size_t count)
1834{
1835 struct hid_device *hdev = to_hid_device(dev);
1836 struct wacom *wacom = hid_get_drvdata(hdev);

--- 1026 unchanged lines hidden ---
1829}
1830
1831static ssize_t wacom_store_speed(struct device *dev,
1832 struct device_attribute *attr,
1833 const char *buf, size_t count)
1834{
1835 struct hid_device *hdev = to_hid_device(dev);
1836 struct wacom *wacom = hid_get_drvdata(hdev);

--- 1026 unchanged lines hidden ---