Re: [PATCH v7 14/44] [media] media: add functions to allow creating interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/25/15 11:26, Mauro Carvalho Chehab wrote:
> Em Tue, 25 Aug 2015 09:09:18 +0200
> Hans Verkuil <hverkuil@xxxxxxxxx> escreveu:
>>> +	case MEDIA_INTF_T_ALSA_CONTROL:
>>> +		return "alsa_control";
>>
>> I prefer - over _, but that's a personal preference.
> 
> Well, not a good reason to use '_' instead of '-', just my personal
> preference ;)
> 
> I'm happy with either ways.

FYI: two practical reasons why I prefer '-' over '_':

1) to type '_' I need to use the Shift key, which I don't need to use for '-'.
   I'm lazy, so sue me :-)

2) '_' is sometimes hard to read if it gets close to the next line, e.g.:

	alsa_control
	try Testing

You don't have this problem with '-':

	alsa-control
	try Testing

Regards,

	Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux