Daniel Kurtz 1e0c0c5b9c Input: atmel_mxt_ts - define helper functions for size and instances
These two object table entry fields are reported 1 less than their value.
When used, however, we always want the actual size and instances.

To keep the object size and instances 1-byte fields, and thus preserve
the object-table struct's 6-byte packed alignment, add some convenient
accessor functions that do the +1 every time these fields are accessed.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2014-05-18 23:27:23 -07:00
..
2013-12-06 02:06:29 -08:00
2012-11-24 00:05:38 -08:00
2014-05-14 16:49:19 -07:00
2013-12-06 02:06:29 -08:00
2013-12-16 02:04:49 -08:00
2013-12-06 02:06:29 -08:00
2013-12-06 02:06:29 -08:00
2013-12-06 02:06:29 -08:00
2013-03-12 08:50:20 -07:00