Skip to contentSkip to conversation

Staging: comedi: addi_acpi_035: Fixed Camel Case Coding Style Issue

PATCH In review Jake Champlin 3 participants 3 messages Jan 18, 2013 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: comedi: addi_acpi_035: Fixed Camel Case Coding Style Issue

Fixed camel case style issue.

---
 drivers/staging/comedi/drivers/addi_apci_035.c | 34 +++++++++++++-------------
 1 file changed, 17 insertions(+), 17 deletions(-)
drivers/staging/comedi/drivers/addi_apci_035.c +17 -17
index c981d4b..e1c36d1 100644
@@ -12,21 +12,21 @@
 
 static const struct addi_board apci035_boardtypes[] = {
 	{
-		.pc_DriverName		= "apci035",
-		.i_VendorId		= PCI_VENDOR_ID_ADDIDATA,
-		.i_DeviceId		= 0x0300,
-		.i_IorangeBase0		= 127,
-		.i_IorangeBase1		= APCI035_ADDRESS_RANGE,
-		.i_PCIEeprom		= 1,
-		.pc_EepromChip		= ADDIDATA_S5920,
-		.i_NbrAiChannel		= 16,
-		.i_NbrAiChannelDiff	= 8,
-		.i_AiChannelList	= 16,
-		.i_AiMaxdata		= 0xff,
-		.pr_AiRangelist		= &range_apci035_ai,
-		.i_Timer		= 1,
-		.ui_MinAcquisitiontimeNs = 10000,
-		.ui_MinDelaytimeNs	= 100000,
+		.pc_driver_name		= "apci035",
+		.vendor_id		= PCI_VENDOR_ID_ADDIDATA,
+		.device_id		= 0x0300,
+		.orange_base0		= 127,
+		.orange_base1		= APCI035_ADDRESS_RANGE,
+		.pci_eeprom		= 1,
+		.pc_eeprom_chip		= ADDIDATA_S5920,
+		.nbr_ai_channel		= 16,
+		.nbr_ai_channel_diff	= 8,
+		.ai_channel_list	= 16,
+		.ai_max_data		= 0xff,
+		.ai_range_list		= &range_apci035_ai,
+		.i_timer		= 1,
+		.ui_min_ack_time	= 10000,
+		.ui_min_delay_time	= 100000,
 		.interrupt		= v_APCI035_Interrupt,
 		.reset			= i_APCI035_Reset,
 		.ai_config		= i_APCI035_ConfigAnalogInput,
@@ -41,9 +41,9 @@ static struct comedi_driver apci035_driver = {
 	.driver_name	= "addi_apci_035",
 	.module		= THIS_MODULE,
 	.auto_attach	= addi_auto_attach,
-	.detach		= i_ADDI_Detach,
+	.detach		= addi_detach,
 	.num_names	= ARRAY_SIZE(apci035_boardtypes),
-	.board_name	= &apci035_boardtypes[0].pc_DriverName,
+	.board_name	= &apci035_boardtypes[0].pc_driver_name,
 	.offset		= sizeof(struct addi_board),
 };
 
Signature · 8 lines
1.8.1.1


-- 
Jake Champlin
[email protected]
8123742937
<MuttClient>
#1 lore raw
Quoted 2 lines · Jake Champlin

Fixed camel case style issue.

No. That doesn't work at all.

regards,
dan carpenter

maintainer
#2 lore raw
In reply to Jake Champlin
Quoted 6 lines · Jake Champlin

Fixed camel case style issue.

---
 drivers/staging/comedi/drivers/addi_apci_035.c | 34 +++++++++++++-------------
 1 file changed, 17 insertions(+), 17 deletions(-)

Did you even build the kernel with this patch applied?

I kind of doubt it...

Sorry, we can't accept this.

greg k-h