greybus: es2: rename misnamed CPORT_MAX into CPORT_COUNT
authorFabien Parent <fparent@baylibre.com>
Wed, 2 Sep 2015 13:50:34 +0000 (15:50 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 14:11:11 +0000 (16:11 +0200)
commite074a2e2874aaa96da3e54d98ecb886201d96435
tree25014e72ebf1a82a22a7081ff343347e15fd5053
parentb9fb704afd6e2e3c749fc076f1d8fa36ae695d4d
greybus: es2: rename misnamed CPORT_MAX into CPORT_COUNT

Rename the misnamed macro CPORT_MAX into CPORT_COUNT. CPORT_MAX could let
people think that the macro is holding the value of the last CPort ID
usable.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/es2.c