brcmutil: add helper function to format board revision
authorArend van Spriel <arend@broadcom.com>
Tue, 25 Nov 2014 19:55:53 +0000 (20:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Dec 2014 20:57:20 +0000 (15:57 -0500)
commit56f0b750fca748b8d13c883d9e947178f3d0162c
tree73317ba626cc89041f91b50776f7d481ca4718ea
parent87dd2d76a94b310c173943a7de9a8b6598af0c78
brcmutil: add helper function to format board revision

The board revision that is available in hardware can be translated
so it matches the labelling on the board. This is accomplished by
this helper function.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmutil/utils.c
drivers/net/wireless/brcm80211/include/brcmu_utils.h