Input: atmel_mxt_ts - use scnprintf for object sysfs entry
authorDaniel Kurtz <djkurtz@chromium.org>
Thu, 28 Jun 2012 13:08:07 +0000 (21:08 +0800)
committerHenrik Rydberg <rydberg@euromail.se>
Fri, 29 Jun 2012 13:58:03 +0000 (15:58 +0200)
commit9c67b789e051449d3914d683ba3604c5babc4dd9
treed1ac672c53479b2d35331df441ea4e20d10602ae
parent55d6867fe659f4783e57db7b2ae0bb04e4ac816e
Input: atmel_mxt_ts - use scnprintf for object sysfs entry

Using scnprintf() is a cleaner way to ensure that we don't overwrite the
PAGE_SIZE sysfs output buffer.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/input/touchscreen/atmel_mxt_ts.c