From: Andy Shevchenko Date: Fri, 13 Sep 2013 06:44:31 +0000 (+0300) Subject: staging: silicom: introduce bp_dev_get_idx_bsf() and use it X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~62^2~700 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de2e487f0008f38bf3daab476c6234b1a24c8ddc;p=pandora-kernel.git staging: silicom: introduce bp_dev_get_idx_bsf() and use it There are two places where duplicate code is located. Moreover, there is a custom implementation of the sscanf() functionality. This patch makes code quite simplier and cleaner. Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed