[PATCH] i2c: pca954x: Remove pointer to GD

There is no reason to have any pointer to GD that's why remove it.
Signed-off-by: Michal Simek michal.simek@amd.com ---
drivers/i2c/muxes/pca954x.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/drivers/i2c/muxes/pca954x.c b/drivers/i2c/muxes/pca954x.c index b4e3e16a9764..795288fe2e94 100644 --- a/drivers/i2c/muxes/pca954x.c +++ b/drivers/i2c/muxes/pca954x.c @@ -10,12 +10,9 @@ #include <i2c.h> #include <log.h> #include <malloc.h> -#include <asm/global_data.h>
#include <asm-generic/gpio.h>
-DECLARE_GLOBAL_DATA_PTR; - enum pca_type { PCA9543, PCA9544,

Hello Michal,
On 01.08.24 09:41, Michal Simek wrote:
There is no reason to have any pointer to GD that's why remove it.
Signed-off-by: Michal Simek michal.simek@amd.com
drivers/i2c/muxes/pca954x.c | 3 --- 1 file changed, 3 deletions(-)
Reviewed-by: Heiko Schocher hs@denx.de
Thanks!
bye, Heiko
participants (2)
-
Heiko Schocher
-
Michal Simek