> All elements of val array are zero. > Simply set data argument to be 0 in lp8788_update_bits call and remove > the val > array. > > Signed-off-by: Axel Lin <axel....@ingics.com>
Axel, sorry I disagree with this patch because DVS_PIN is meaningful. In this case, explicit bit description is more important than code simplicity. So I would keep it. Thanks, Milo N�����r��y����b�X��ǧv�^�){.n�+����{����zX����ܨ}���Ơz�&j:+v�������zZ+��+zf���h���~����i���z��w���?�����&�)ߢf��^jǫy�m��@A�a��� 0��h���i