瀏覽代碼

Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6

* 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6:
  gpio: wm831x: add a missing break in wm831x_gpio_dbg_show
Linus Torvalds 14 年之前
父節點
當前提交
1765a367a3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/gpio/wm831x-gpio.c

+ 1 - 0
drivers/gpio/wm831x-gpio.c

@@ -180,6 +180,7 @@ static void wm831x_gpio_dbg_show(struct seq_file *s, struct gpio_chip *chip)
 			break;
 			break;
 		case WM831X_GPIO_PULL_UP:
 		case WM831X_GPIO_PULL_UP:
 			pull = "pullup";
 			pull = "pullup";
+			break;
 		default:
 		default:
 			pull = "INVALID PULL";
 			pull = "INVALID PULL";
 			break;
 			break;