Fix typos and issues with pwm-pin and beaglebone adaptor.