提交 2d1a826d 编写于 作者: A Arend van Spriel 提交者: Greg Kroah-Hartman

staging: brcm80211: fix checkpatch warning in si_pmu_res_init

Patch "remove dependency between aiutils and siutils sources" introduced
several checkpatch warnings. This patch removes one from si_pmu_res_init().

Cc: devel@linuxdriverproject.org
Cc: linux-wireless@vger.kernel.org
Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: NArend van Spriel <arend@broadcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 5ac71a1d
......@@ -1626,7 +1626,8 @@ void si_pmu_res_init(si_t *sih)
pmu_res_updown_table_sz = 0;
} else {
pmu_res_updown_table = bcm4329_res_updown;
pmu_res_updown_table_sz = ARRAY_SIZE(bcm4329_res_updown);
pmu_res_updown_table_sz =
ARRAY_SIZE(bcm4329_res_updown);
}
/* Optimize resources dependencies */
pmu_res_depend_table = bcm4329_res_depend;
......@@ -1758,15 +1759,13 @@ void si_pmu_res_init(si_t *sih)
/* Program max resource mask */
if (max_mask) {
if (max_mask)
W_REG(&cc->max_res_mask, max_mask);
}
/* Program min resource mask */
if (min_mask) {
if (min_mask)
W_REG(&cc->min_res_mask, min_mask);
}
/* Add some delay; allow resources to come up and settle. */
mdelay(2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册