Skip to contentSkip to conversation

accessibility: braille: braille_console: fix whitespace style issues

PATCH In review Clayton Casciato 2 participants 2 messages Jun 13, 2021 – Jun 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accessibility: braille: braille_console: fix whitespace style issues

Fixed a coding style issue.

---
 drivers/accessibility/braille/braille_console.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/accessibility/braille/braille_console.c +3 -0
index 9861302cc7db..a0656c6b595f 100644
@@ -225,6 +225,7 @@ static int keyboard_notifier_call(struct notifier_block *blk,
 	case KBD_POST_KEYSYM:
 	{
 		unsigned char type = KTYP(param->value) - 0xf0;
+
 		if (type == KT_SPEC) {
 			unsigned char val = KVAL(param->value);
 			int on_off = -1;
@@ -264,6 +265,7 @@ static int vt_notifier_call(struct notifier_block *blk,
 {
 	struct vt_notifier_param *param = _param;
 	struct vc_data *vc = param->vc;
+
 	switch (code) {
 	case VT_ALLOCATE:
 		break;
@@ -272,6 +274,7 @@ static int vt_notifier_call(struct notifier_block *blk,
 	case VT_WRITE:
 	{
 		unsigned char c = param->c;
+
 		if (vc->vc_num != fg_console)
 			break;
 		switch (c) {
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Clayton Casciato

Fixed a coding style issue.

FWIW:

Quoted 33 lines
---
  drivers/accessibility/braille/braille_console.c | 3 +++
  1 file changed, 3 insertions(+)
drivers/accessibility/braille/braille_console.c +3 -0
index 9861302cc7db..a0656c6b595f 100644
@@ -225,6 +225,7 @@ static int keyboard_notifier_call(struct notifier_block *blk,
  	case KBD_POST_KEYSYM:
  	{
  		unsigned char type = KTYP(param->value) - 0xf0;
+
  		if (type == KT_SPEC) {
  			unsigned char val = KVAL(param->value);
  			int on_off = -1;
@@ -264,6 +265,7 @@ static int vt_notifier_call(struct notifier_block *blk,
  {
  	struct vt_notifier_param *param = _param;
  	struct vc_data *vc = param->vc;
+
  	switch (code) {
  	case VT_ALLOCATE:
  		break;
@@ -272,6 +274,7 @@ static int vt_notifier_call(struct notifier_block *blk,
  	case VT_WRITE:
  	{
  		unsigned char c = param->c;
+
  		if (vc->vc_num != fg_console)
  			break;
  		switch (c) {
Signature · 2 lines
js
suse labs