Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355371
b: refs/heads/master
c: 8682b3c
h: refs/heads/master
i:
  355369: a652252
  355367: 3fa22c6
v: v3
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Jan 25, 2013
1 parent 3afb8c7 commit 9fb6acf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 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: 3e347f08aab1bee4187fcda482ebde49090c4844
refs/heads/master: 8682b3c522c639f3a0de31c86bb91f2f9a6c76cb
12 changes: 0 additions & 12 deletions trunk/drivers/sh/pfc/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,18 +578,6 @@ static struct platform_driver sh_pfc_driver = {
},
};

static struct platform_device sh_pfc_device = {
.name = DRV_NAME,
.id = -1,
};

int __init register_sh_pfc(struct sh_pfc_platform_data *pdata)
{
sh_pfc_device.dev.platform_data = pdata;

return platform_device_register(&sh_pfc_device);
}

static int __init sh_pfc_init(void)
{
return platform_driver_register(&sh_pfc_driver);
Expand Down
10 changes: 0 additions & 10 deletions trunk/include/linux/sh_pfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,6 @@ struct sh_pfc_platform_data {
/* XXX compat for now */
#define pinmux_info sh_pfc_platform_data

/* drivers/sh/pfc/core.c */
int register_sh_pfc(struct sh_pfc_platform_data *pfc);

/* xxx */
static inline int register_pinmux(struct pinmux_info *pip)
{
struct sh_pfc_platform_data *pdata = pip;
return register_sh_pfc(pdata);
}

enum { GPIO_CFG_DRYRUN, GPIO_CFG_REQ, GPIO_CFG_FREE };

/* helper macro for port */
Expand Down

0 comments on commit 9fb6acf

Please sign in to comment.