Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfef84fc authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] siano: get rid of CammelCase from smscoreapi.h



It is almost impossible to see a compliant with checkpatch.pl
on those Siano drivers, as there are simply too much violations
on it. So, now that a big change was done, the better is to
cleanup the checkpatch compliants.

Let's first replace all CammelCase symbols found at smscoreapi.h
using camel_case namespace. That removed 144 checkpatch.pl
compliants on this file. Of course, the other files need to be
fixed accordingly.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c8b8fdb3
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -167,13 +167,13 @@ struct sms_board *sms_get_board(unsigned id)
}
EXPORT_SYMBOL_GPL(sms_get_board);
static inline void sms_gpio_assign_11xx_default_led_config(
		struct smscore_config_gpio *pGpioConfig) {
	pGpioConfig->direction = SMS_GPIO_DIRECTION_OUTPUT;
	pGpioConfig->inputcharacteristics =
		struct smscore_config_gpio *p_gpio_config) {
	p_gpio_config->direction = SMS_GPIO_DIRECTION_OUTPUT;
	p_gpio_config->inputcharacteristics =
		SMS_GPIO_INPUTCHARACTERISTICS_NORMAL;
	pGpioConfig->outputdriving = SMS_GPIO_OUTPUTDRIVING_4mA;
	pGpioConfig->outputslewrate = SMS_GPIO_OUTPUT_SLEW_RATE_0_45_V_NS;
	pGpioConfig->pullupdown = SMS_GPIO_PULLUPDOWN_NONE;
	p_gpio_config->outputdriving = SMS_GPIO_OUTPUTDRIVING_4mA;
	p_gpio_config->outputslewrate = SMS_GPIO_OUTPUT_SLEW_RATE_0_45_V_NS;
	p_gpio_config->pullupdown = SMS_GPIO_PULLUPDOWN_NONE;
}

int sms_board_event(struct smscore_device_t *coredev,
+168 −168

File changed.

Preview size limit exceeded, changes collapsed.

+210 −210

File changed.

Preview size limit exceeded, changes collapsed.

+115 −115

File changed.

Preview size limit exceeded, changes collapsed.

+125 −125

File changed.

Preview size limit exceeded, changes collapsed.

Loading