beaglebone.c: use the ret variable in i2c_init_pre also when successful
beaglebone.c: use the ret variable in i2c_init_pre also when successful

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

Propanu/mraa,g-vidal/mraa,yongli3/mraa,stefan-andritoiu/mraa,Propanu/mraa,ncrastanaren/mraa,sergev/mraa,KurtE/mraa,malikabhi05/mraa,yongli3/mraa,malikabhi05/mraa,alext-mkrs/mraa,KurtE/mraa,intel-iot-devkit/mraa,malikabhi05/mraa,ncrastanaren/mraa,g-vidal/mraa,g-vidal/mraa,KurtE/mraa,alext-mkrs/mraa,Propanu/mraa,g-vidal/mraa,malikabhi05/mraa,g-vidal/mraa,sergev/mraa,yongli3/mraa,sergev/mraa,arfoll/mraa,Propanu/mraa,intel-iot-devkit/mraa,intel-iot-devkit/mraa,ncrastanaren/mraa,intel-iot-devkit/mraa,alext-mkrs/mraa,ncrastanaren/mraa,KurtE/mraa,sergev/mraa,alext-mkrs/mraa,sergev/mraa,arfoll/mraa,ncrastanaren/mraa,arfoll/mraa,alext-mkrs/mraa,arfoll/mraa,KurtE/mraa,yongli3/mraa,intel-iot-devkit/mraa,stefan-andritoiu/mraa,arfoll/mraa,Propanu/mraa,stefan-andritoiu/mraa,stefan-andritoiu/mraa,yongli3/mraa,malikabhi05/mraa,stefan-andritoiu/mraa