diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-09-13 06:44:31 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-17 14:47:46 (GMT) |
commit | de2e487f0008f38bf3daab476c6234b1a24c8ddc (patch) | |
tree | 1e9f54cc22446c68b36d84f66e96dbd0d407cfbb /drivers/staging/rtl8712 | |
parent | 3816a5409ebfcf0b9a0d5f3cc7df0165bb0750d7 (diff) | |
download | linux-fsl-qoriq-de2e487f0008f38bf3daab476c6234b1a24c8ddc.tar.xz |
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
0 files changed, 0 insertions, 0 deletions