/* This API reads the bma423 interrupt status from the sensor.  */
uint16_t bma423_read_int_status(uint16_t *int_status, struct bma4_dev *dev)
/* This API reads the bma423 interrupt status from the sensor.  */
uint16_t bma423_read_int_status(uint16_t *int_status, struct bma4_dev *dev)
{
	uint16_t rslt = BMA4_OK;
	if (dev != NULL) {
		if (dev->chip_id == BMA423_CHIP_ID) {
			rslt = bma4_read_int_status(int_status, dev);
		} else {
			rslt = BMA4_E_INVALID_SENSOR;
		}
	} else {
		rslt = BMA4_E_NULL_PTR;
	}
	return rslt;
}