ztest API Migration: bluetooth/ctrl_sw_privacy

Migrate the unit tests at `bluetooth/ctrl_sw_privacy` to use
the new ztest API.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
diff --git a/tests/bluetooth/ctrl_sw_privacy/prj.conf b/tests/bluetooth/ctrl_sw_privacy/prj.conf
index 7324043..89c8424 100644
--- a/tests/bluetooth/ctrl_sw_privacy/prj.conf
+++ b/tests/bluetooth/ctrl_sw_privacy/prj.conf
@@ -4,5 +4,6 @@
 CONFIG_BT_PERIPHERAL=y
 CONFIG_BT_CENTRAL=y
 CONFIG_ZTEST=y
+CONFIG_ZTEST_NEW_API=y
 CONFIG_BT_PRIVACY=y
 CONFIG_BT_CTLR_SW_DEFERRED_PRIVACY=y
diff --git a/tests/bluetooth/ctrl_sw_privacy/src/main.c b/tests/bluetooth/ctrl_sw_privacy/src/main.c
index 0bc1a55..43ba0c6 100644
--- a/tests/bluetooth/ctrl_sw_privacy/src/main.c
+++ b/tests/bluetooth/ctrl_sw_privacy/src/main.c
@@ -13,15 +13,9 @@
 
 #include <zephyr/bluetooth/bluetooth.h>
 
-void test_ctrl_sw_privacy(void)
+ZTEST_SUITE(test_bluetooth, NULL, NULL, NULL, NULL, NULL);
+
+ZTEST(test_bluetooth, test_ctrl_sw_privacy)
 {
 	zassert_false(bt_enable(NULL), "%s failed", __func__);
 }
-
-/* test case main entry */
-void test_main(void)
-{
-	ztest_test_suite(test_bluetooth,
-			ztest_unit_test(test_ctrl_sw_privacy));
-	ztest_run_test_suite(test_bluetooth);
-}