treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / nvdimm / acpi_nfit_test.c
blobfec8fb1b7715eb9f6aa441703ed9eccebef872bd
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright(c) 2018 Intel Corporation. All rights reserved.
4 #include <linux/module.h>
5 #include <linux/printk.h>
6 #include "watermark.h"
7 #include <nfit.h>
9 nfit_test_watermark(acpi_nfit);
11 /* strong / override definition of nfit_intel_shutdown_status */
12 void nfit_intel_shutdown_status(struct nfit_mem *nfit_mem)
14 set_bit(NFIT_MEM_DIRTY_COUNT, &nfit_mem->flags);
15 nfit_mem->dirty_shutdown = 42;