MAX77654 Ultra-Low Power PMIC Mbed Driver

Revision:
1:4ad70542956e
Parent:
0:788f63dcf0a0
Child:
2:951902a65736
--- a/MAX77654.cpp	Fri Mar 25 15:42:47 2022 +0300
+++ b/MAX77654.cpp	Tue Apr 26 09:43:41 2022 +0300
@@ -40,14 +40,12 @@
 
 #define POST_INTR_WORK_SIGNAL_ID			0x1
 
-MAX77654::MAX77654(I2C *i2c, DigitalOut *powerPin, DigitalIn *dataPin, PinName IRQPin)
+MAX77654::MAX77654(I2C *i2c, PinName IRQPin)
 {
-    if (i2c == NULL || powerPin == NULL || dataPin == NULL)
+    if (i2c == NULL)
         return;
 
     i2c_handler = i2c;
-    power_pin   = powerPin;
-    data_read   = dataPin;
 
     if (IRQPin != NC) {
         IRQDisableAll();