File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4024,7 +4024,7 @@ static const struct pinmux_irq pinmux_irqs[] = {
4024
4024
4025
4025
static void sh73a0_vccq_mc0_endisable (struct regulator_dev * reg , bool enable )
4026
4026
{
4027
- struct sh_pfc * pfc = reg -> reg_data ;
4027
+ struct sh_pfc * pfc = rdev_get_drvdata ( reg ) ;
4028
4028
void __iomem * addr = pfc -> windows [1 ].virt + 4 ;
4029
4029
unsigned long flags ;
4030
4030
u32 value ;
@@ -4057,7 +4057,7 @@ static int sh73a0_vccq_mc0_disable(struct regulator_dev *reg)
4057
4057
4058
4058
static int sh73a0_vccq_mc0_is_enabled (struct regulator_dev * reg )
4059
4059
{
4060
- struct sh_pfc * pfc = reg -> reg_data ;
4060
+ struct sh_pfc * pfc = rdev_get_drvdata ( reg ) ;
4061
4061
void __iomem * addr = pfc -> windows [1 ].virt + 4 ;
4062
4062
unsigned long flags ;
4063
4063
u32 value ;
You can’t perform that action at this time.
0 commit comments