From 630a334b430fc4b4e13f9ddb5f7ddc42c45789d9 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 8 Apr 2013 18:17:43 -0700 Subject: [PATCH] staging: comedi: rti800: use arrays to hold the ai/ao ranges The analog in/analog out ranges are selected by the user using options passed during the legacy attach. Put the valid ranges into arrays and use those instead of the switch () statements when initializing the subdevice range information. If the passed user option is not valid, set the range information to range_unknown. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed