hwmon: (pmbus) Introduce and use write_byte_data callback
[ Upstream commit 5de3e13f ] Some of the pmbus core functions uses pmbus_write_byte_data, which does not support driver callbacks for chip specific write operations. This could potentially influence some specific regulator chips that for example need a time delay before each data access. Lets add support for driver callback with _pmbus_write_byte_data. Signed-off-by:Mårten Lindahl <marten.lindahl@axis.com> Link: https://lore.kernel.org/r/20220428144039.2464667-2-marten.lindahl@axis.com Signed-off-by:
Guenter Roeck <linux@roeck-us.net> Stable-dep-of: 20471071 ("hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading