[PATCH 2/8] cdrom: adjoined pointer asterisks to data names

From: Stefan Melmuk
Date: Mon Feb 22 2010 - 07:27:41 EST


Fixed "foo * bar" should be "foo *bar" coding style errors.

Signed-off-by: Stefan Melmuk <stefan.melmuk@xxxxxxxxx>
---
drivers/cdrom/cdrom.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index f803426..2088868 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -344,11 +344,11 @@ static const char *mrw_address_space[] = { "DMA", "GAA" };
#define CDROM_DEF_TIMEOUT (7 * HZ)

/* Not-exported routines. */
-static int open_for_data(struct cdrom_device_info * cdi);
-static int check_for_audio_disc(struct cdrom_device_info * cdi,
- struct cdrom_device_ops * cdo);
+static int open_for_data(struct cdrom_device_info *cdi);
+static int check_for_audio_disc(struct cdrom_device_info *cdi,
+ struct cdrom_device_ops *cdo);
static void sanitize_format(union cdrom_addr *addr,
- u_char * curr, u_char requested);
+ u_char *curr, u_char requested);
static int mmc_ioctl(struct cdrom_device_info *cdi, unsigned int cmd,
unsigned long arg);

@@ -1021,7 +1021,7 @@ err:
}

static
-int open_for_data(struct cdrom_device_info * cdi)
+int open_for_data(struct cdrom_device_info *cdi)
{
int ret;
struct cdrom_device_ops *cdo = cdi->ops;
@@ -1130,8 +1130,8 @@ clean_up_and_return:
/* This code is similar to that in open_for_data. The routine is called
whenever an audio play operation is requested.
*/
-static int check_for_audio_disc(struct cdrom_device_info * cdi,
- struct cdrom_device_ops * cdo)
+static int check_for_audio_disc(struct cdrom_device_info *cdi,
+ struct cdrom_device_ops *cdo)
{
int ret;
tracktype tracks;
@@ -1485,7 +1485,7 @@ static void cdrom_count_tracks(struct cdrom_device_info *cdi, tracktype* tracks)

static
void sanitize_format(union cdrom_addr *addr,
- u_char * curr, u_char requested)
+ u_char *curr, u_char requested)
{
if (*curr == requested)
return; /* nothing to be done! */
--
1.7.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/