OSDN Git Service

platform/x86: intel_telemetry_debugfs: Use standard ARRAY_SIZE() macro
authorAllen Pais <allen.lkml@gmail.com>
Wed, 13 Sep 2017 10:59:31 +0000 (16:29 +0530)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 22 Sep 2017 21:57:42 +0000 (14:57 -0700)
commitae11c5b2c2dfe8768b51f73f491869ba2cd9d4f9
tree5389ad3578060d10fdc303f29153da9268c1cc59
parent5c003458db40cf3c89aeddd22c6e934c28b5a565
platform/x86: intel_telemetry_debugfs: Use standard ARRAY_SIZE() macro

Use the standard ARRAY_SIZE() macro instead of the custom
TELEM_EVT_LEN().

Signed-off-by: Allen Pais <allen.lkml@gmail.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/intel_telemetry_debugfs.c