Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281612
b: refs/heads/master
c: 4346b6d
h: refs/heads/master
v: v3
  • Loading branch information
Rajeshwari Shinde authored and Kukjin Kim committed Dec 23, 2011
1 parent 9b80b4d commit 92357e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a361d10a2b490812b051433b1aad5b4351372597
refs/heads/master: 4346b6d9c6651121f35ae9e42f240f36a8e56ce6
7 changes: 2 additions & 5 deletions trunk/drivers/mmc/host/sdhci-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,11 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)

for (clks = 0, ptr = 0; ptr < MAX_BUS_CLK; ptr++) {
struct clk *clk;
char *name = pdata->clocks[ptr];

if (name == NULL)
continue;
char name[14];

snprintf(name, 14, "mmc_busclk.%d", ptr);
clk = clk_get(dev, name);
if (IS_ERR(clk)) {
dev_err(dev, "failed to get clock %s\n", name);
continue;
}

Expand Down

0 comments on commit 92357e2

Please sign in to comment.