[RFC PATCH v4 2/2] mtd: nand: vf610_nfc: remove old hooks
Boris Brezillon
boris.brezillon at bootlin.com
Thu Feb 22 14:14:56 PST 2018
On Thu, 22 Feb 2018 21:29:18 +0100
Stefan Agner <stefan at agner.ch> wrote:
> @@ -1087,12 +838,6 @@ static int vf610_nfc_probe(struct platform_device *pdev)
> goto err_disable_clk;
> }
>
> - chip->dev_ready = vf610_nfc_dev_ready;
> - chip->cmdfunc = vf610_nfc_command;
> - chip->read_byte = vf610_nfc_read_byte;
> - chip->read_word = vf610_nfc_read_word;
> - chip->read_buf = vf610_nfc_read_buf;
> - chip->write_buf = vf610_nfc_write_buf;
> chip->exec_op = vf610_nfc_exec_op;
> chip->select_chip = vf610_nfc_select_chip;
> chip->onfi_set_features = nand_onfi_get_set_features_notsupp;
Your NAND controller should now support the SET/GET_FEATURES commands,
so you can remove the ->onfi_set/get_features assignment too (in a
separate patch, of course).
--
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the linux-mtd
mailing list