staging: speakup fix code styling
cover staging: speakup fix code styling
Fix code styling reported by checkpatch.
Ioannis Valasakis (2):
staging: speakup: add spaces around minus
staging: speakup: move arguments to reduce 80 chars limit
drivers/staging/speakup/speakup_acntpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.19.1
PATCH 1/2 staging: speakup: add spaces around minus
Add spaces around minus operator. Reported by checkpatch.
Signed-off-by Ioannis Valasakis <[email protected]>
--- drivers/staging/speakup/speakup_acntpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/speakup_acntpc.c +1 -1
@@ -298,7 +298,7 @@ static void accent_release(void) {spk_stop_serial_interrupt ();if (speakup_info.port_tts) -synth_release_region (speakup_info.port_tts-1 ,SYNTH_IO_EXTENT ); +synth_release_region (speakup_info.port_tts -1 ,SYNTH_IO_EXTENT ); speakup_info.port_tts =0 ; }
Signature · 1 line
2.19.1
PATCH 2/2 staging: speakup: move arguments to reduce 80 chars limit
In reply to Ioannis ValasakisMove the arguments one line below to remove the warning of the 80 chars limit. Reported by checkpatch.
Signed-off-by Ioannis Valasakis <[email protected]>
--- drivers/staging/speakup/speakup_acntpc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/speakup/speakup_acntpc.c +2 -1
@@ -298,7 +298,8 @@ static void accent_release(void) {spk_stop_serial_interrupt ();if (speakup_info.port_tts) -synth_release_region (speakup_info.port_tts -1 ,SYNTH_IO_EXTENT ); +synth_release_region (speakup_info.port_tts -1 , +SYNTH_IO_EXTENT ); speakup_info.port_tts =0 ; }
Signature · 1 line
2.19.1