[qca-nss-drv] Use BUILD_BUG_ON and change nss_freq_sched_change

Fixed the following issues:

- Used BUILD_BUG_ON macro provided by Linux kernel to perform
  compile time structure size checks.

- Changed the return type of nss_freq_sched_change() to bool
  so that the freq_scale_index counter can be updated accordingly

Change-Id: I075e8bd4d57576c9d8bf70c930c96a8e3a345a63
Signed-off-by: Tanmay V Jagdale <tjagdale@codeaurora.org>
4 files changed