From: Hector Palacios Date: Mon, 23 Dec 2013 17:48:00 +0000 (+0000) Subject: iio: mxs-lradc: add scale_available file to channels X-Git-Tag: v3.14-rc1~150^2~139^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5acf5942bf6c7b7b73c7d40466a8478afe284fe;p=pandora-kernel.git iio: mxs-lradc: add scale_available file to channels Adds in_voltageX_scale_available file for every channel to read the different available scales. There are two scales per channel: [0] = divider_by_two disabled (default) [1] = divider_by_two enabled The scale is a struct made of integer and nano parts to build a long decimal number. Signed-off-by: Hector Palacios Signed-off-by: Alexandre Belloni Acked-by: Marek Vasut Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed