File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -2231,7 +2231,6 @@ static int npcm_i2c_probe_bus(struct platform_device *pdev)
2231
2231
{
2232
2232
struct device_node * np = pdev -> dev .of_node ;
2233
2233
static struct regmap * gcr_regmap ;
2234
- static struct regmap * clk_regmap ;
2235
2234
struct i2c_adapter * adap ;
2236
2235
struct npcm_i2c * bus ;
2237
2236
struct clk * i2c_clk ;
@@ -2259,10 +2258,6 @@ static int npcm_i2c_probe_bus(struct platform_device *pdev)
2259
2258
return PTR_ERR (gcr_regmap );
2260
2259
regmap_write (gcr_regmap , NPCM_I2CSEGCTL , NPCM_I2CSEGCTL_INIT_VAL );
2261
2260
2262
- clk_regmap = syscon_regmap_lookup_by_compatible ("nuvoton,npcm750-clk" );
2263
- if (IS_ERR (clk_regmap ))
2264
- return PTR_ERR (clk_regmap );
2265
-
2266
2261
bus -> reg = devm_platform_ioremap_resource (pdev , 0 );
2267
2262
if (IS_ERR (bus -> reg ))
2268
2263
return PTR_ERR (bus -> reg );
You can’t perform that action at this time.
0 commit comments