staging: sm750fb: fix camelCase function name
Change camelCase function name sii164GetVendorID to sii164_get_vendor_id as suggested by checkpatch.pl Signed-off-by: Nam Cao <namcaov@gmail.com> Link: https://lore.kernel.org/r/20220527225350.GA220436@nam-dell Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
21c752ce5d
commit
864a821c78
|
@ -15,7 +15,7 @@ static struct dvi_ctrl_device dcft_supported_dvi_controller[] = {
|
|||
#ifdef DVI_CTRL_SII164
|
||||
{
|
||||
.init = sii164InitChip,
|
||||
.get_vendor_id = sii164GetVendorID,
|
||||
.get_vendor_id = sii164_get_vendor_id,
|
||||
.get_device_id = sii164GetDeviceID,
|
||||
#ifdef SII164_FULL_FUNCTIONS
|
||||
.reset_chip = sii164ResetChip,
|
||||
|
|
|
@ -29,13 +29,13 @@ static char *gDviCtrlChipName = "Silicon Image SiI 164";
|
|||
#endif
|
||||
|
||||
/*
|
||||
* sii164GetVendorID
|
||||
* sii164_get_vendor_id
|
||||
* This function gets the vendor ID of the DVI controller chip.
|
||||
*
|
||||
* Output:
|
||||
* Vendor ID
|
||||
*/
|
||||
unsigned short sii164GetVendorID(void)
|
||||
unsigned short sii164_get_vendor_id(void)
|
||||
{
|
||||
unsigned short vendorID;
|
||||
|
||||
|
@ -140,7 +140,7 @@ long sii164InitChip(unsigned char edge_select,
|
|||
#endif
|
||||
|
||||
/* Check if SII164 Chip exists */
|
||||
if ((sii164GetVendorID() == SII164_VENDOR_ID) &&
|
||||
if ((sii164_get_vendor_id() == SII164_VENDOR_ID) &&
|
||||
(sii164GetDeviceID() == SII164_DEVICE_ID)) {
|
||||
/*
|
||||
* Initialize SII164 controller chip.
|
||||
|
|
|
@ -27,7 +27,7 @@ long sii164InitChip(unsigned char edgeSelect,
|
|||
unsigned char pllFilterEnable,
|
||||
unsigned char pllFilterValue);
|
||||
|
||||
unsigned short sii164GetVendorID(void);
|
||||
unsigned short sii164_get_vendor_id(void);
|
||||
unsigned short sii164GetDeviceID(void);
|
||||
|
||||
#ifdef SII164_FULL_FUNCTIONS
|
||||
|
|
Loading…
Reference in New Issue