samples: sensor: Remove bmm150 magnetometer sample

The magn_polling sample application now supports the bmm150 driver, so
we can remove this driver-specific sample.

Signed-off-by: Maureen Helm <maureen.helm@intel.com>
diff --git a/samples/sensor/bmm150/CMakeLists.txt b/samples/sensor/bmm150/CMakeLists.txt
deleted file mode 100644
index 7f6fae6..0000000
--- a/samples/sensor/bmm150/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-
-cmake_minimum_required(VERSION 3.20.0)
-find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
-project(bmm150)
-
-FILE(GLOB app_sources src/*.c)
-target_sources(app PRIVATE ${app_sources})
diff --git a/samples/sensor/bmm150/README.rst b/samples/sensor/bmm150/README.rst
deleted file mode 100644
index 0d45d81..0000000
--- a/samples/sensor/bmm150/README.rst
+++ /dev/null
@@ -1,46 +0,0 @@
-.. _bmm150:
-
-BMM150 Geomagnetic Sensor
-#########################
-
-Overview
-********
-
-This sample application periodically reads magnetometer (X, Y, Z) data from
-the first available device that implements SENSOR_CHAN_MAGN_* (predefined array
-of device names). This sample checks the sensor in polling mode (without
-interrupt trigger).
-
-Building and Running
-********************
-
-This sample application uses an BMM150 sensor connected to a board via I2C.
-Sensor has multiple pins so you need to connect according to connection diagram given in
-`bmm150 datasheet`_ at page 41.
-
-.. code-block:: console
-
-.. zephyr-app-commands::
-   :zephyr-app: samples/sensor/bmm150
-   :board: nrf52840dk_nrf52840
-   :goals: flash
-   :compact:
-
-Sample Output
-=============
-To check output of this sample , any serial console program can be used.
-Here I am using picocom program to open output. Check which tty device it is.
-In my case it is ttyACM0
-
-.. code-block:: console
-
-        $ sudo picocom -D /dev/ttyACM0
-
-.. code-block:: console
-
-        ( x y z ) = ( -0.390625  0.087500  -0.390625 )
-        ( x y z ) = ( -0.275000  0.115625  -0.275000 )
-        ( x y z ) = ( -0.281250  0.125000  -0.281250 )
-        ( x y z ) = ( -0.287500  0.134375  -0.287500 )
-
-.. _bmm150 datasheet: http://www.mouser.com/ds/2/783/BST-BMM150-DS001-01-786480.pdf
diff --git a/samples/sensor/bmm150/boards/frdm_k64f.overlay b/samples/sensor/bmm150/boards/frdm_k64f.overlay
deleted file mode 100644
index fd2eb41..0000000
--- a/samples/sensor/bmm150/boards/frdm_k64f.overlay
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (c) 2019, Linaro Ltd.
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-&i2c0 {
-	bmm150@10 {
-		compatible = "bosch,bmm150";
-		reg = <0x10>;
-		label = "BMM150";
-	};
-};
diff --git a/samples/sensor/bmm150/prj.conf b/samples/sensor/bmm150/prj.conf
deleted file mode 100644
index 7e74942..0000000
--- a/samples/sensor/bmm150/prj.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-CONFIG_STDOUT_CONSOLE=y
-CONFIG_PRINTK=y
-CONFIG_I2C=y
-CONFIG_GPIO=y
-CONFIG_SENSOR=y
-CONFIG_BMM150=y
-CONFIG_BMM150_SAMPLING_RATE_RUNTIME=y
-CONFIG_CBPRINTF_FP_SUPPORT=y
diff --git a/samples/sensor/bmm150/sample.yaml b/samples/sensor/bmm150/sample.yaml
deleted file mode 100644
index 0c0e3ff..0000000
--- a/samples/sensor/bmm150/sample.yaml
+++ /dev/null
@@ -1,8 +0,0 @@
-sample:
-  name: BMM150 Sensor Sample
-tests:
-  sample.sensor.bmm150:
-    harness: sensor
-    tags: sensors
-    depends_on: gpio i2c
-    filter: dt_compat_enabled("bosch,bmm150")
diff --git a/samples/sensor/bmm150/src/main.c b/samples/sensor/bmm150/src/main.c
deleted file mode 100644
index 3490c5c..0000000
--- a/samples/sensor/bmm150/src/main.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2017 Intel Corporation
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-#include <zephyr/zephyr.h>
-#include <zephyr/device.h>
-#include <zephyr/sys/printk.h>
-#include <zephyr/drivers/sensor.h>
-#include <stdio.h>
-
-void main(void)
-{
-	const struct device *dev = DEVICE_DT_GET_ONE(bosch_bmm150);
-	struct sensor_value x, y, z;
-	int ret;
-
-	printk("BMM150 Geomagnetic sensor Application\n");
-
-	if (!device_is_ready(dev)) {
-		printk("sensor: device not ready.\n");
-		return;
-	}
-
-	printk("Found device is %p, name is %s\n", dev, dev->name);
-
-	while (1) {
-		ret = sensor_sample_fetch(dev);
-		if (ret) {
-			printk("sensor_sample_fetch failed ret %d\n", ret);
-			return;
-		}
-
-		ret = sensor_channel_get(dev, SENSOR_CHAN_MAGN_X, &x);
-		ret = sensor_channel_get(dev, SENSOR_CHAN_MAGN_Y, &y);
-		ret = sensor_channel_get(dev, SENSOR_CHAN_MAGN_Z, &z);
-
-		printf("( x y z ) = ( %f  %f  %f )\n", sensor_value_to_double(&x),
-		       sensor_value_to_double(&y), sensor_value_to_double(&z));
-
-		k_sleep(K_MSEC(500));
-	}
-}