my9221: add direction for setBarLevel

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
my9221: return mraa_error_t when method says it does

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>