aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2020-02-09 14:42:36 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-02-10 10:00:01 -0800
commitfbd1ec000213c8b457dd4fb15b6de9ba02ec5482 (patch)
treec62bff613730164126e099eddd935d5ff34799bb /Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt
parentMerge branch 'next' into for-linus (diff)
downloadlinux-dev-fbd1ec000213c8b457dd4fb15b6de9ba02ec5482.tar.xz
linux-dev-fbd1ec000213c8b457dd4fb15b6de9ba02ec5482.zip
Input: ili210x - fix return value of is_visible function
The is_visible function expects the permissions associated with an attribute of the sysfs group or 0 if an attribute is not visible. Change the code to return the attribute permissions when the attribute should be visible which resolves the warning: Attribute calibrate: Invalid permissions 01 Fixes: cc12ba1872c6 ("Input: ili210x - optionally show calibrate sysfs attribute") Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Sven Van Asbroeck <TheSven73@gmail.com> Link: https://lore.kernel.org/r/20200209145628.649409-1-luca@z3ntu.xyz Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/ilitek,ili2xxx.txt')
0 files changed, 0 insertions, 0 deletions