summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/db1xxx_ss.c
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-30 21:42:56 +0800
committerDominik Brodowski <linux@dominikbrodowski.net>2018-10-01 12:17:02 +0200
commit1b22dcf6b33ace39c11a2832260d499d020c3d55 (patch)
tree094d179ba364b54ba758a9510eb40dc2a1768616 /drivers/pcmcia/db1xxx_ss.c
parent5f17af054d6a782e7b582d300274d3143fddba5e (diff)
pcmcia: pcmcia_resource: Replace mdelay() with msleep()
pcmcia_fixup_iowidth() and pcmcia_enable_device() are never called in atomic context. They call mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/db1xxx_ss.c')
0 files changed, 0 insertions, 0 deletions