commit | 88635b6da891522e6099c0bfc97ce03788dd6888 | [log] [tgz] |
---|---|---|
author | Sebastian Reichel <sebastian.reichel@collabora.com> | Sat Sep 29 07:57:30 2018 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Dec 13 00:16:31 2018 +0100 |
tree | f15a491c214057f41c0b4cfe3ddfbd43d1f7f331 | |
parent | 451ba0e4363c053201065f0f2ba9405fbdf0f731 [diff] |
power: supply: ds2780: fix race-condition in bin attribute registration This is a follow-up patch to the previous one, which fixed a race-condition during registration of the attribute group. This fixes the same issue for the binary attributes by adding them to the properly registered group. As a side effect the code is further cleaned up. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>