OSDN Git Service

greybus: endo: Rename endo's 'type' as 'id'
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 28 Apr 2015 14:10:27 +0000 (19:40 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 29 Apr 2015 13:48:32 +0000 (15:48 +0200)
commit8f8b2297c0a17236ca4b5413e1f737536a8154a1
tree268df6ba34156e7300c5e9040406c9e792bf42d2
parent58d674650b96d7ae81cda68b0cbf40fb3f9a9726
greybus: endo: Rename endo's 'type' as 'id'

There can be three Endo types: mini, medium and large. And that's what
Endo 'type' should refer to.

But we have named the 16 bit number that uniquely represents a valid
endo, as its type. 'id' seems to be a more suitable name to that instead
of 'type'. Lets rename it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/endo.c
drivers/staging/greybus/endo.h