Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126937
b: refs/heads/master
c: 5f6333b
h: refs/heads/master
i:
  126935: 49af92a
v: v3
  • Loading branch information
Kay Sievers authored and Haavard Skinnemoen committed Jan 5, 2009
1 parent 4f08dae commit 4bc6347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: c80ce2d52b1d11ccb29eddb3fc1345cd49ccfc5a
refs/heads/master: 5f6333bd6ed3c855c725ab389eeed8bf7c198798
4 changes: 2 additions & 2 deletions trunk/arch/avr32/mach-at32ap/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ dump_clock(struct clk *parent, struct clkinf *r)
unsigned i;

/* skip clocks coupled to devices that aren't registered */
if (parent->dev && !parent->dev->bus_id[0] && !parent->users)
if (parent->dev && !dev_name(parent->dev) && !parent->users)
return;

/* <nest spaces> name <pad to end> */
Expand All @@ -214,7 +214,7 @@ dump_clock(struct clk *parent, struct clkinf *r)
parent->users ? "on" : "off", /* NOTE: not-paranoid!! */
clk_get_rate(parent));
if (parent->dev)
seq_printf(r->s, ", for %s", parent->dev->bus_id);
seq_printf(r->s, ", for %s", dev_name(parent->dev));
seq_printf(r->s, "\n");

/* cost of this scan is small, but not linear... */
Expand Down

0 comments on commit 4bc6347

Please sign in to comment.