On Thu, Apr 30, 2015 at 5:27 PM, Bastien Nocera <hadess@xxxxxxxxxx> wrote: > On Thu, 2015-04-30 at 16:25 +0200, Antonio Ospite wrote: >> It was mainly to prevent error messages being printed in the logs >> when >> trying to getting a gpio descriptor, is that correct Bastien? > > Actually, to prevent it failing to init the driver altogether. This is not true :). I agree with Antonio :), this is just a hack to avoid this error message: ""acpi gpio get index failed" The initial patch introducing is_smo8500_device shouldn't have been merged from start :) but it was Jonathan's decision :). See: http://marc.info/?l=linux-iio&m=141520240809938&w=2 I think dropping patch 2/3 is the best option for now. thanks, Daniel. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html