treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / subdev / mxm / priv.h
blobfc8f69e6fc64f724e8a411f80ec81fc3ccdf44a2
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_MXM_PRIV_H__
3 #define __NVKM_MXM_PRIV_H__
4 #define nvkm_mxm(p) container_of((p), struct nvkm_mxm, subdev)
5 #include <subdev/mxm.h>
7 #define MXM_SANITISE_DCB 0x00000001
9 struct nvkm_mxm {
10 struct nvkm_subdev subdev;
11 u32 action;
12 u8 *mxms;
15 int nvkm_mxm_new_(struct nvkm_device *, int index, struct nvkm_mxm **);
16 #endif