From 5e763f7bd9fea0027e246e6c2cee291566a390a9 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Mon, 13 May 2013 17:07:24 -0700 Subject: [PATCH] staging: comedi: ni_labpc: remove *_ai_gain_bits tables The bits needed to set the analog input gain can be simply calculated based on the 'range'. The LabPC versions of the board do not have the '0x10' gain that the LabPC+ board supports. By incrementing the range appropriately the correct gain bits can still be calculated. This allows removing the two gain tables, as well as the export, along with the 'ai_range_code' data in the boardinfo. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed