mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 00:47:56 -04:00
usb: renesas-xhci: Replace BIT(15) with macro
Replace BIT(15) with RENESAS_ROM_STATUS_ROM_EXISTS. Signed-off-by: Moritz Fischer <mdf@kernel.org> Link: https://lore.kernel.org/r/20210614215614.240489-1-mdf@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7917e90667
commit
e90f9ceb70
@@ -197,7 +197,7 @@ static int renesas_check_rom_state(struct pci_dev *pdev)
|
||||
if (err)
|
||||
return pcibios_err_to_errno(err);
|
||||
|
||||
if (rom_state & BIT(15)) {
|
||||
if (rom_state & RENESAS_ROM_STATUS_ROM_EXISTS) {
|
||||
/* ROM exists */
|
||||
dev_dbg(&pdev->dev, "ROM exists\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user