linux/pmeter.h: return errors from write function

Signed-off-by: Guillaume Tucker <guillaume.tucker@plasticlogic.com>
ChangeLog v1.6 -> v007