@@ -284,7 +284,6 @@ static void portman_write_midi(struct portman *pm,
/* Data sent. */
}
-
/*
* Read MIDI byte from port
* Attempt to read input byte from specified hardware input port (0..).
@@ -357,7 +356,6 @@ static int portman_read_midi(struct portman *pm, int port)
portman_write_data(pm, 1); /* Cause rising edge, which shifts data. */
portman_write_data(pm, 0); /* Return data clock low. */
-
/* De-assert Strobe and return data. */
portman_write_command(pm, cmdout); /* Output saved address+IE. */
@@ -375,6 +373,7 @@ static int portman_read_midi(struct portman *pm, int port)
static int portman_data_avail(struct portman *pm, int channel)
{
int command = INT_EN;
+
switch (channel) {
case 0:
command |= RXDATA0;
@@ -393,7 +392,6 @@ static int portman_data_avail(struct portman *pm, int channel)
return 0;
}
-
/*
* Flushes any input
*/
@@ -823,7 +821,6 @@ static int snd_portman_remove(struct platform_device *pdev)
return 0;
}
-
static struct platform_driver snd_portman_driver = {
.probe = snd_portman_probe,
.remove = snd_portman_remove,
checkpatch complains about multiple blank lines and missing blank line after declaration. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> --- sound/drivers/portman2x4.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)