Fix some LE convertions on TLVs; remove vestigial "attr" from func/var names.
consistency change: s/status/err; change DESC_COMP_STATUS to DESC_COMP_ERR
consistency change: replace a few return -1 with return -ESOMETHING