power: supply: ds2780: Switch to using the new API kobj_to_dev()