mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 10:57:01 +07:00
clk: s2mps11: Use existing defines from bindings for clock IDs
The clock IDs must match between DeviceTree bindings and the driver. There is already a header file used by DeviceTree sources so include it in the driver to remove duplicated symbols. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
5b394b2ddf
commit
8748b4a786
@ -28,12 +28,7 @@
|
||||
#include <linux/mfd/samsung/s5m8767.h>
|
||||
#include <linux/mfd/samsung/core.h>
|
||||
|
||||
enum {
|
||||
S2MPS11_CLK_AP = 0,
|
||||
S2MPS11_CLK_CP,
|
||||
S2MPS11_CLK_BT,
|
||||
S2MPS11_CLKS_NUM,
|
||||
};
|
||||
#include <dt-bindings/clock/samsung,s2mps11.h>
|
||||
|
||||
struct s2mps11_clk {
|
||||
struct sec_pmic_dev *iodev;
|
||||
|
Loading…
Reference in New Issue
Block a user