Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230556
b: refs/heads/master
c: ceb50f3
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jan 13, 2011
1 parent 59b78b4 commit e557eb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 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: 53582c4c508a95ece9f7c907edef9911c7eb79eb
refs/heads/master: ceb50f33d478ca42baf72257381a923c797b418b
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,7 @@ static struct platform_device smc911x_device = {
*/
static int slot_cn7_get_cd(struct platform_device *pdev)
{
if (gpio_is_valid(GPIO_PORT41))
return !gpio_get_value(GPIO_PORT41);
else
return -ENXIO;
return !gpio_get_value(GPIO_PORT41);
}

/* SH_MMCIF */
Expand Down
5 changes: 1 addition & 4 deletions trunk/arch/arm/mach-shmobile/board-mackerel.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,7 @@ static struct platform_device fsi_ak4643_device = {
*/
static int slot_cn7_get_cd(struct platform_device *pdev)
{
if (gpio_is_valid(GPIO_PORT41))
return !gpio_get_value(GPIO_PORT41);
else
return -ENXIO;
return !gpio_get_value(GPIO_PORT41);
}

/* SDHI0 */
Expand Down

0 comments on commit e557eb0

Please sign in to comment.