git: 90098ee30e7c - main - Fix reading the correct ID and REV.

From: Ganbold Tsagaankhuu <ganbold_at_FreeBSD.org>
Date: Thu, 01 Sep 2022 07:39:38 UTC
The branch main has been updated by ganbold:

URL: https://cgit.FreeBSD.org/src/commit/?id=90098ee30e7cf5efec961896071a40f95d241b47

commit 90098ee30e7cf5efec961896071a40f95d241b47
Author:     Søren Schmidt <sos@FreeBSD.org>
AuthorDate: 2022-09-01 07:36:37 +0000
Commit:     Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
CommitDate: 2022-09-01 07:36:37 +0000

    Fix reading the correct ID and REV.
    
    Reviewed by:    manu
---
 sys/dev/iicbus/pmic/fan53555.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/iicbus/pmic/fan53555.c b/sys/dev/iicbus/pmic/fan53555.c
index c4929eee07e5..a6d98353c041 100644
--- a/sys/dev/iicbus/pmic/fan53555.c
+++ b/sys/dev/iicbus/pmic/fan53555.c
@@ -56,9 +56,9 @@ __FBSDID("$FreeBSD$");
 #define	 FAN53555_VSEL_MASK		0x3f
 #define	FAN53555_CTRL		0x02
 #define	FAN53555_ID1		0x03
-#define	 FAN53555_ID1_DIE_ID(x)		(((x) >> 4) & 0x0F)
+#define	 FAN53555_ID1_DIE_ID(x)		((x) & 0x0F)
 #define	FAN53555_ID2		0x04
-#define	 FAN53555_ID2_DIE_REV(x)	(((x) >> 4) & 0x0F)
+#define	 FAN53555_ID2_DIE_REV(x)	((x) & 0x0F)
 #define	FAN53555_MON		0x05
 
 #define	TCS4525_VSEL0		0x11