From d5acf5942bf6c7b7b73c7d40466a8478afe284fe Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Mon, 23 Dec 2013 17:48:00 +0000 Subject: [PATCH] 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-format-patch failed