hal: fix unused param warnings

Fix unused param warnings.
Take care of coding style issues.
Remove unwanted code to set acdb_settings.
Fix compilation issues on 8960 platform.

Change-Id: Ifc72472b487abee83ff85e21fd324cee938973e9
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c
index 60ddb99..5e71eb3 100644
--- a/hal/msm8916/platform.c
+++ b/hal/msm8916/platform.c
@@ -1168,7 +1168,8 @@
     }
     return ret;
 }
-int platform_get_sample_rate(void *platform, uint32_t *rate)
+
+int platform_get_sample_rate(void *platform __unused, uint32_t *rate __unused)
 {
     return 0;
 }
@@ -2208,7 +2209,9 @@
     return false;
 }
 
-bool platform_check_and_set_codec_backend_cfg(struct audio_device* adev, struct audio_usecase *usecase) {
+bool platform_check_and_set_codec_backend_cfg(struct audio_device* adev __unused,
+                                              struct audio_usecase *usecase __unused)
+{
     return false;
 }