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:
parent
7917e90667
commit
e90f9ceb70
|
@ -197,7 +197,7 @@ static int renesas_check_rom_state(struct pci_dev *pdev)
|
||||||
if (err)
|
if (err)
|
||||||
return pcibios_err_to_errno(err);
|
return pcibios_err_to_errno(err);
|
||||||
|
|
||||||
if (rom_state & BIT(15)) {
|
if (rom_state & RENESAS_ROM_STATUS_ROM_EXISTS) {
|
||||||
/* ROM exists */
|
/* ROM exists */
|
||||||
dev_dbg(&pdev->dev, "ROM exists\n");
|
dev_dbg(&pdev->dev, "ROM exists\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue