Skip to content

Commit

Permalink
pcmcia: replace open-coded ARRAY_SIZE with macro
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
  • Loading branch information
Jim Cromie authored and Dominik Brodowski committed May 30, 2015
1 parent aaa20fc commit e632cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pcmcia/i82365.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ static pcic_t pcic[] = {
{ "VIA VT83C469", IS_CIRRUS|IS_VIA },
};

#define PCIC_COUNT (sizeof(pcic)/sizeof(pcic_t))
#define PCIC_COUNT ARRAY_SIZE(pcic)

/*====================================================================*/

Expand Down

0 comments on commit e632cd9

Please sign in to comment.